Class MessageLoginException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.security.GeneralSecurityException
-
- javax.security.auth.login.LoginException
-
- com.sun.identity.authentication.spi.AuthLoginException
-
- com.sun.identity.authentication.spi.MessageLoginException
-
- All Implemented Interfaces:
L10NMessage,Serializable
- Direct Known Subclasses:
AuthErrorCodeException
public class MessageLoginException extends AuthLoginException
Exception that is thrown when enter a Login Module error state which does not contain a error template. The exception message is the value for the header attribute in the Callbacks element- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MessageLoginException(String message)Constructor.MessageLoginException(String rbName, String errorCode, Object[] args)CreatesMessageLoginExceptionobject.
-
Method Summary
-
Methods inherited from class com.sun.identity.authentication.spi.AuthLoginException
getErrorCode, getL10NMessage, getMessage, getMessageArgs, getResourceBundleName
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MessageLoginException
public MessageLoginException(String rbName, String errorCode, Object[] args)
CreatesMessageLoginExceptionobject.- Parameters:
rbName- Resource bundle name for the error message.errorCode- Key to the message in resource bundle.args- Arguments to the message.
-
MessageLoginException
public MessageLoginException(String message)
Constructor.- Parameters:
message- English message for the exception.
-
-