Class AuthException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.sun.identity.shared.locale.L10NMessageImpl
-
- com.sun.identity.authentication.service.AuthException
-
- All Implemented Interfaces:
L10NMessage,Serializable
- Direct Known Subclasses:
AMAuthCallBackException
public class AuthException extends L10NMessageImpl
This class is the super-class for all auth related checked exceptions. An AuthException is thrown when anything goes wrong for authentication- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthException(String message)Constructor.AuthException(String errorCode, Object[] args)Constructor.AuthException(Throwable t)Constructor.
-
Method Summary
-
Methods inherited from class com.sun.identity.shared.locale.L10NMessageImpl
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
-
AuthException
public AuthException(String errorCode, Object[] args)
Constructor.- Parameters:
errorCode- Key of the error message in resource bundle.args- Arguments to the message.
-
AuthException
public AuthException(String message)
Constructor.- Parameters:
message- English message for this exception.
-
AuthException
public AuthException(Throwable t)
Constructor.- Parameters:
t- Root cause of this exception.
-
-