当前页面:
在线文档首页 >
Java Platform, Enterprise Edition v1.3.1 API Specifications
Java 2 Platform EE v1.3: Class AuthenticationFailedException - Java Platform, Enterprise Edition v1.3.1 API Specifications
javax.mail
Class AuthenticationFailedException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--javax.mail.MessagingException
|
+--javax.mail.AuthenticationFailedException
- All Implemented Interfaces:
- java.io.Serializable
- public class AuthenticationFailedException
- extends MessagingException
This exception is thrown when the connect method on a Store or
Transport object fails due to an authentication failure (e.g.,
bad user name or password).
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AuthenticationFailedException
public AuthenticationFailedException()
- Constructor
AuthenticationFailedException
public AuthenticationFailedException(java.lang.String message)
- Constructor
- Parameters:
message
- The detailed error message