This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
javax.security.sasl
exception AuthenticationException
- All Implemented Interfaces:
- Serializable
public exception AuthenticationException
extends SaslException
This exception is thrown by a SASL mechanism implementation
to indicate that the SASL
exchange has failed due to reasons related to authentication, such as
an invalid identity, passphrase, or key.
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.
Constructor Summary |
Constructs a new instance of AuthenticationException.
|
Constructs a new instance of AuthenticationException
with a detailed message.
|
Constructs a new instance of AuthenticationException with a detailed message
and a root exception.
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthenticationException
public AuthenticationException()
-
Constructs a new instance of AuthenticationException.
The root exception and the detailed message are null.
AuthenticationException
public AuthenticationException(String detail)
-
Constructs a new instance of AuthenticationException
with a detailed message.
The root exception is null.
- Parameters:
detail
- A possibly null string containing details of the exception.
AuthenticationException
public AuthenticationException(String detail,
Throwable ex)
-
Constructs a new instance of AuthenticationException with a detailed message
and a root exception.
- Parameters:
detail
- A possibly null string containing details of the exception.
ex
- A possibly null root exception that caused this exception.
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.