|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
nl.toolforge.karma.core.vc.AuthenticationException
Field Summary | |
static ErrorCode |
AUTHENTICATOR_LOAD_ERROR
When the authenticators.xml file could not be read properly. |
static ErrorCode |
AUTHENTICATOR_NOT_FOUND
No authenticator entry is configured that matches the location alias (the id -attribute). |
static ErrorCode |
AUTHENTICATOR_WRITE_ERROR
Could not write authenticators.xml |
static ErrorCode |
DUPLICATE_AUTHENTICATOR_KEY
No authenticator entry is configured that matches the location alias (the id -attribute). |
static java.lang.String |
EXCEPTION_PREFIX
This is the prefix that is shown when displaying the error. |
static ErrorCode |
INVALID_AUTHENTICATOR_CONFIGURATION
When the authenticator configuration is invalid. |
static ErrorCode |
MISSING_AUTHENTICATOR_CONFIGURATION
When the location-type requires authentication configuration to be present. |
static ErrorCode |
MISSING_USERNAME
Username is missing while configuring a new authenticator. |
Fields inherited from class java.lang.Exception |
|
Constructor Summary | |
AuthenticationException(ErrorCode errorCode)
|
|
AuthenticationException(ErrorCode errorCode,
java.lang.Object[] messageArguments)
|
|
AuthenticationException(java.lang.Throwable t,
ErrorCode errorCode)
|
|
AuthenticationException(java.lang.Throwable t,
ErrorCode errorCode,
java.lang.Object[] messageArguments)
|
Method Summary | |
ErrorCode |
getErrorCode()
Gets the exceptions' ErrorCode . |
java.lang.String |
getMessage()
|
java.lang.Object[] |
getMessageArguments()
Retrieves the message arguments for this exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, 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 |
public static final java.lang.String EXCEPTION_PREFIX
public static final ErrorCode INVALID_AUTHENTICATOR_CONFIGURATION
<&authenticator>
-element. Some locations require certain data to be available (username and
password for a pserver
location for instance).
public static final ErrorCode MISSING_AUTHENTICATOR_CONFIGURATION
public static final ErrorCode DUPLICATE_AUTHENTICATOR_KEY
id
-attribute).
public static final ErrorCode AUTHENTICATOR_LOAD_ERROR
authenticators.xml
file could not be read properly.
public static final ErrorCode AUTHENTICATOR_NOT_FOUND
id
-attribute).
public static final ErrorCode AUTHENTICATOR_WRITE_ERROR
authenticators.xml
public static final ErrorCode MISSING_USERNAME
Constructor Detail |
public AuthenticationException(ErrorCode errorCode)
public AuthenticationException(java.lang.Throwable t, ErrorCode errorCode)
public AuthenticationException(ErrorCode errorCode, java.lang.Object[] messageArguments)
public AuthenticationException(java.lang.Throwable t, ErrorCode errorCode, java.lang.Object[] messageArguments)
Method Detail |
public java.lang.String getMessage()
public final ErrorCode getErrorCode()
ErrorCode
.
public final java.lang.Object[] getMessageArguments()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |