- java.lang.Object
 -  
      
- java.lang.Throwable
 -  
        
- java.lang.Exception
 -  
          
- java.security.GeneralSecurityException
 -  
            
- javax.security.auth.login.LoginException
 -  
              
- javax.security.auth.login.CredentialException
 -  
                
- javax.security.auth.login.CredentialNotFoundException
 
 
 
 
 
 
 
-  
       
- 实现的所有接口
 -  
         
Serializable 
public class CredentialNotFoundException extends CredentialException
表示未找到凭证的信号。如果LoginModule无法找到执行身份验证所需的凭据,则可能会抛出此异常。
- 从以下版本开始:
 - 1.5
 - 另请参见:
 - Serialized Form
 
 
-  
        
       
-  
             
构造方法摘要
构造方法 构造器 描述 CredentialNotFoundException()构造一个没有详细消息的CredentialNotFoundException。CredentialNotFoundException(String msg)使用指定的详细消息构造CredentialNotFoundException。 
-  
             
方法摘要
 
 -  
             
 
-  
        
       
-  
             
构造方法详细信息
-  
CredentialNotFoundException
public CredentialNotFoundException()
构造一个没有详细消息的CredentialNotFoundException。 详细消息是描述此特定异常的String。 
-  
CredentialNotFoundException
public CredentialNotFoundException(String msg)
使用指定的详细消息构造CredentialNotFoundException。 详细消息是描述此特定异常的String。- 参数
 -  
              
msg- 详细信息。 
 
 -  
 
 -