public class InvalidAuthenticationException extends CrowdException
Constructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
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) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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 causepublic static InvalidAuthenticationException newInstanceWithName(String name)
InvalidAuthenticationException
with a default detail message using the
name of the entity that failed to authenticate.name
- name of entityInvalidAuthenticationException
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 causeInvalidAuthenticationException
public static InvalidAuthenticationException newInstanceWithNameAndDescriptionFromCause(String name, Throwable cause)
Copyright © 2020 Atlassian. All rights reserved.