|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.atlassian.crowd.exception.CrowdException com.atlassian.crowd.exception.InvalidAuthenticationException
public class InvalidAuthenticationException
Thrown when the attempted authentication is not valid.
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 |
---|
public InvalidAuthenticationException(String msg)
InvalidAuthenticationException
with the specified detail message.
msg
- detail messagepublic InvalidAuthenticationException(String msg, Throwable cause)
InvalidAuthenticationException
with the specified detail message and cause.
msg
- detail messagecause
- the causepublic InvalidAuthenticationException(Throwable cause)
InvalidAuthenticationException
with the specified cause.
cause
- the causeMethod Detail |
---|
public static InvalidAuthenticationException newInstanceWithName(String name)
InvalidAuthenticationException
with a default detail message using the
name of the entity that failed to authenticate.
name
- name of entity
InvalidAuthenticationException
public static InvalidAuthenticationException newInstanceWithName(String name, Throwable cause)
InvalidAuthenticationException
with a default detail message using the
name of the entity that failed to authenticate, and a cause.
name
- name of entitycause
- the cause
InvalidAuthenticationException
public static InvalidAuthenticationException newInstanceWithNameAndDescriptionFromCause(String name, Throwable cause)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |