|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.mail Class AuthenticationFailedException
java.lang.Object java.lang.Throwable java.lang.Exception javax.mail.MessagingException javax.mail.AuthenticationFailedException
- All Implemented Interfaces:
- Serializable
public class AuthenticationFailedException
- extends MessagingException
Extends:
Throwable > Exception > MessagingException
当由于验证失败(例如,错误的用户名或密码)而导致 Store 或 Transport 对象上的 connect 方法失败时,抛出此异常。
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).
- Author:
- Bill Shannon
- See Also:
- Serialized Form
Constructor Summary | |
---|---|
AuthenticationFailedException()
Constructor |
|
AuthenticationFailedException(String message)
Constructor |
Method Summary |
---|
Methods inherited from class javax.mail.MessagingException |
---|
getCause, getNextException, setNextException, toString |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public
AuthenticationFailedException()
Constructor
英文文档:
AuthenticationFailedException
public AuthenticationFailedException()
- Constructor
public
AuthenticationFailedException(String message)
Constructor
message | 详细的错误消息 |
AuthenticationFailedException
public AuthenticationFailedException(String message)
- Constructor
- Parameters:
message
- The detailed error message
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!