Note that the lack of an AuthenticationException does not mean that the failure was not due to an authentication error. A SASL mechanism implementation might throw the more general SaslException instead of AuthenticationException if it is unable to determine the nature of the failure, or if does not want to disclose the nature of the failure, for example, due to security reasons.
| Modifier and Type | Field and Description |
|---|---|
| private static final long | serialVersionUID
Use serialVersionUID from JSR 28 RI for interoperability
|
| Access | Constructor and Description |
|---|---|
| public | |
| public | AuthenticationException(String
A possibly null string containing details of the exception. detail)Constructs a new instance of |
| public | AuthenticationException(String
A possibly null string containing details of the exception. detail, Throwable A possibly null root exception that caused this exception. ex)Constructs a new instance of |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides javax. Use serialVersionUID from JSR 28 RI for interoperability | |
| AuthenticationException | back to summary |
|---|---|
| public AuthenticationException() Constructs a new instance of | |
| AuthenticationException | back to summary |
|---|---|
| public AuthenticationException(String detail) Constructs a new instance of
| |
| AuthenticationException | back to summary |
|---|---|
| public AuthenticationException(String detail, Throwable ex) Constructs a new instance of
| |