jetbrains.buildServer.serverSide.auth
Class AuthenticationFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by jetbrains.buildServer.serverSide.auth.AuthenticationFailedException
All Implemented Interfaces:
java.io.Serializable

public class AuthenticationFailedException
extends java.lang.RuntimeException

Author:
Pavel.Sher Date: 19.01.2007
See Also:
Serialized Form

Field Summary
static java.lang.String INCORRECT_USERNAME_OR_PASSWORD
           
static java.lang.String INTERNAL_ERROR_HAS_OCCURRED
           
 
Constructor Summary
AuthenticationFailedException()
           
AuthenticationFailedException(java.lang.String adminMessage)
           
AuthenticationFailedException(java.lang.String userMessage, java.lang.String adminMessage, java.lang.Throwable cause, boolean internalError)
           
AuthenticationFailedException(java.lang.String adminMessage, java.lang.Throwable cause)
           
AuthenticationFailedException(java.lang.String adminMessage, java.lang.Throwable cause, boolean internalError)
           
 
Method Summary
 java.lang.String getUserMessage()
           
 boolean isInternalError()
           
static boolean mustShowDetails()
           
 
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
 

Field Detail

INCORRECT_USERNAME_OR_PASSWORD

@NotNull
public static final java.lang.String INCORRECT_USERNAME_OR_PASSWORD
See Also:
Constant Field Values

INTERNAL_ERROR_HAS_OCCURRED

@NotNull
public static final java.lang.String INTERNAL_ERROR_HAS_OCCURRED
See Also:
Constant Field Values
Constructor Detail

AuthenticationFailedException

public AuthenticationFailedException()

AuthenticationFailedException

public AuthenticationFailedException(@Nullable
                                     java.lang.String adminMessage)

AuthenticationFailedException

public AuthenticationFailedException(@Nullable
                                     java.lang.String adminMessage,
                                     @Nullable
                                     java.lang.Throwable cause)

AuthenticationFailedException

public AuthenticationFailedException(@Nullable
                                     java.lang.String adminMessage,
                                     @Nullable
                                     java.lang.Throwable cause,
                                     boolean internalError)

AuthenticationFailedException

public AuthenticationFailedException(@Nullable
                                     java.lang.String userMessage,
                                     @NotNull
                                     java.lang.String adminMessage,
                                     @Nullable
                                     java.lang.Throwable cause,
                                     boolean internalError)
Method Detail

isInternalError

public boolean isInternalError()

getUserMessage

@NotNull
public java.lang.String getUserMessage()

mustShowDetails

public static boolean mustShowDetails()