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:
  • Constructor Details

    • AuthenticationException

      public AuthenticationException(String msg, org.apache.commons.logging.Log log)
      Logs the given message and create a RuntimeException object
      Parameters:
      msg - Error Message
      log - Logger who need to consume message
    • AuthenticationException

      public AuthenticationException(String msg, Throwable throwable, org.apache.commons.logging.Log log)
      Logs the given message and the root error and create a RuntimeException object
      Parameters:
      msg - Error Message
      throwable - Root Error
      log - Logger who need to consume message