Class AuthenticationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.wso2.carbon.identity.authentication.AuthenticationException
-
- All Implemented Interfaces:
Serializable
public class AuthenticationException extends RuntimeException
Represent the authentication failures. Each exception and error message is logged and thrown.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthenticationException(String msg, Throwable throwable, org.apache.commons.logging.Log log)
Logs the given message and the root error and create a RuntimeException objectAuthenticationException(String msg, org.apache.commons.logging.Log log)
Logs the given message and create a RuntimeException object
-
Method Summary
-
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(String msg, org.apache.commons.logging.Log log)
Logs the given message and create a RuntimeException object- Parameters:
msg
- Error Messagelog
- Logger who need to consume message
-
-