com.atlassian.crowd.exception
Class InvalidAuthenticationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.atlassian.crowd.exception.CrowdException
              extended by com.atlassian.crowd.exception.InvalidAuthenticationException
All Implemented Interfaces:
Serializable

public class InvalidAuthenticationException
extends CrowdException

Thrown when the attempted authentication is not valid.

See Also:
Serialized Form

Constructor Summary
InvalidAuthenticationException(String msg)
          Constructs a new InvalidAuthenticationException with the specified detail message.
InvalidAuthenticationException(String msg, Throwable cause)
          Constructs a new InvalidAuthenticationException with the specified detail message and cause.
InvalidAuthenticationException(Throwable cause)
          Constructs a new InvalidAuthenticationException with the specified cause.
 
Method Summary
static InvalidAuthenticationException newInstanceWithName(String name)
          Creates a new instance of an InvalidAuthenticationException with a default detail message using the name of the entity that failed to authenticate.
static InvalidAuthenticationException newInstanceWithName(String name, Throwable cause)
          Creates a new instance of an InvalidAuthenticationException with a default detail message using the name of the entity that failed to authenticate, and a cause.
static InvalidAuthenticationException newInstanceWithNameAndDescriptionFromCause(String name, Throwable cause)
           
 
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

InvalidAuthenticationException

public InvalidAuthenticationException(String msg)
Constructs a new InvalidAuthenticationException with the specified detail message.

Parameters:
msg - detail message

InvalidAuthenticationException

public InvalidAuthenticationException(String msg,
                                      Throwable cause)
Constructs a new InvalidAuthenticationException with the specified detail message and cause.

Parameters:
msg - detail message
cause - the cause

InvalidAuthenticationException

public InvalidAuthenticationException(Throwable cause)
Constructs a new InvalidAuthenticationException with the specified cause.

Parameters:
cause - the cause
Method Detail

newInstanceWithName

public static InvalidAuthenticationException newInstanceWithName(String name)
Creates a new instance of an InvalidAuthenticationException with a default detail message using the name of the entity that failed to authenticate.

Parameters:
name - name of entity
Returns:
new instance of InvalidAuthenticationException

newInstanceWithName

public static InvalidAuthenticationException newInstanceWithName(String name,
                                                                 Throwable cause)
Creates a new instance of an InvalidAuthenticationException with a default detail message using the name of the entity that failed to authenticate, and a cause.

Parameters:
name - name of entity
cause - the cause
Returns:
new instance of InvalidAuthenticationException

newInstanceWithNameAndDescriptionFromCause

public static InvalidAuthenticationException newInstanceWithNameAndDescriptionFromCause(String name,
                                                                                        Throwable cause)


Copyright © 2013 Atlassian. All Rights Reserved.