Class AuthenticationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.forgerock.opendj.config.AdminException
-
- org.forgerock.opendj.config.client.AuthenticationException
-
- All Implemented Interfaces:
Serializable,org.forgerock.i18n.LocalizableException
public class AuthenticationException extends AdminException
This exception is thrown when an authentication error occurs while connecting to the Directory Server. An authentication error can happen, for example, when the client credentials are invalid.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthenticationException()Creates an authentication exception with a default message.AuthenticationException(Throwable cause)Create an authentication exception with a cause and a default message.AuthenticationException(org.forgerock.i18n.LocalizableMessage message)Create an authentication exception with a message.AuthenticationException(org.forgerock.i18n.LocalizableMessage message, Throwable cause)Create an authentication exception with a message and cause.
-
Method Summary
-
Methods inherited from class org.forgerock.opendj.config.AdminException
getMessageObject
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AuthenticationException
public AuthenticationException()
Creates an authentication exception with a default message.
-
AuthenticationException
public AuthenticationException(Throwable cause)
Create an authentication exception with a cause and a default message.- Parameters:
cause- The cause.
-
AuthenticationException
public AuthenticationException(org.forgerock.i18n.LocalizableMessage message, Throwable cause)Create an authentication exception with a message and cause.- Parameters:
message- The message.cause- The cause.
-
AuthenticationException
public AuthenticationException(org.forgerock.i18n.LocalizableMessage message)
Create an authentication exception with a message.- Parameters:
message- The message.
-
-