Class AuthenticationFailedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jetbrains.buildServer.serverSide.auth.AuthenticationFailedException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidBearerTokenException
public class AuthenticationFailedException extends RuntimeException
- Author:
- Pavel.Sher Date: 19.01.2007
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
INCORRECT_USERNAME_OR_PASSWORD
static String
INTERNAL_ERROR_HAS_OCCURRED
-
Constructor Summary
Constructors Constructor Description AuthenticationFailedException()
AuthenticationFailedException(String adminMessage)
AuthenticationFailedException(String userMessage, String adminMessage, Throwable cause, boolean internalError)
AuthenticationFailedException(String adminMessage, Throwable cause)
AuthenticationFailedException(String userMessage, Throwable cause, boolean internalError)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getUserMessage()
boolean
isInternalError()
static boolean
mustShowDetails()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
INCORRECT_USERNAME_OR_PASSWORD
@NotNull public static final String INCORRECT_USERNAME_OR_PASSWORD
- See Also:
- Constant Field Values
-
INTERNAL_ERROR_HAS_OCCURRED
@NotNull public static final String INTERNAL_ERROR_HAS_OCCURRED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AuthenticationFailedException
public AuthenticationFailedException()
-
AuthenticationFailedException
public AuthenticationFailedException(@Nullable String adminMessage)
-
AuthenticationFailedException
public AuthenticationFailedException(@Nullable String adminMessage, @Nullable Throwable cause)
-
AuthenticationFailedException
public AuthenticationFailedException(@Nullable String userMessage, @Nullable Throwable cause, boolean internalError)
-
-
Method Detail
-
isInternalError
public boolean isInternalError()
-
getUserMessage
@NotNull public String getUserMessage()
-
mustShowDetails
public static boolean mustShowDetails()
-
-