org.wso2.carbon.identity.authentication
Class AuthenticationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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
AuthenticationException(String msg, org.apache.commons.logging.Log log)
          Logs the given message and create a RuntimeException object
AuthenticationException(String msg, Throwable throwable, org.apache.commons.logging.Log log)
          Logs the given message and the root error and create a RuntimeException object
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 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


Copyright © 2015 WSO2. All rights reserved.