public static enum SystemExceptionFactory.SystemErrors extends Enum<SystemExceptionFactory.SystemErrors> implements ExceptionMapping<com.lexmark.saperion.exceptions.system.SystemException>
| Modifier and Type | Method and Description |
|---|---|
com.lexmark.saperion.exceptions.system.SystemException |
createException(com.lexmark.saperion.exceptions.ErrorType fault,
Throwable cause)
Creates a new exception for the given server fault.
|
com.lexmark.saperion.exceptions.system.SystemException |
createException(String message)
Creates a new exception for the given server fault.
|
com.lexmark.saperion.exceptions.system.SystemException |
createException(String message,
Throwable cause)
Creates a new exception for the given server fault.
|
com.lexmark.saperion.exceptions.system.SystemException |
createException(Throwable cause)
Creates a new exception for the given server fault.
|
com.lexmark.saperion.exceptions.ErrorCodeType |
getErrorCode()
Returns the error code this exception mapping applies to.
|
boolean |
validate()
Validates the integrity of the exception mapping.
|
static SystemExceptionFactory.SystemErrors |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SystemExceptionFactory.SystemErrors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SystemExceptionFactory.SystemErrors SYSTEM_CONNECTION_INVALID
public static final SystemExceptionFactory.SystemErrors SYSTEM_CONNECTION_POOL_ERROR
public static final SystemExceptionFactory.SystemErrors SYSTEM_SERIALIZATION_ERROR
public static final SystemExceptionFactory.SystemErrors SYSTEM_DESERIALIZATION_ERROR
public static final SystemExceptionFactory.SystemErrors PROTOCOL_MISSING_VERSION
public static final SystemExceptionFactory.SystemErrors PROTOCOL_INCOMPATIBLE_VERSION
public static final SystemExceptionFactory.SystemErrors BACKEND_SYSTEM_ERROR
public static final SystemExceptionFactory.SystemErrors BACKEND_CONFIGURATION_ERROR
public static final SystemExceptionFactory.SystemErrors SECURITY_ERROR
public static final SystemExceptionFactory.SystemErrors SECURITY_ACCESS_DENIED
public static final SystemExceptionFactory.SystemErrors AUTHENTICATION_ERROR
public static final SystemExceptionFactory.SystemErrors AUTHENTICATION_UNKNOWN_SCHEME
public static final SystemExceptionFactory.SystemErrors AUTHENTICATION_INVALID_HEADER
public static final SystemExceptionFactory.SystemErrors AUTHENTICATION_INVALID_TENANT
public static final SystemExceptionFactory.SystemErrors AUTHENTICATION_INVALID_PASSWORD
public static final SystemExceptionFactory.SystemErrors AUTHENTICATION_PASSWORD_EXPIRED
public static final SystemExceptionFactory.SystemErrors SECURITY_TOKEN_UNKNOWN
public static final SystemExceptionFactory.SystemErrors SECURITY_TOKEN_EXPIRED
public static final SystemExceptionFactory.SystemErrors SECURITY_TOKEN_INCOSTENT
public static final SystemExceptionFactory.SystemErrors SECURITY_TOKEN_INVALID
public static final SystemExceptionFactory.SystemErrors SYSTEM_GENERAL_ERROR
public static final SystemExceptionFactory.SystemErrors SYSTEM_STORAGE_ERROR
public static SystemExceptionFactory.SystemErrors[] values()
for (SystemExceptionFactory.SystemErrors c : SystemExceptionFactory.SystemErrors.values()) System.out.println(c);
public static SystemExceptionFactory.SystemErrors valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic com.lexmark.saperion.exceptions.system.SystemException createException(com.lexmark.saperion.exceptions.ErrorType fault,
Throwable cause)
ExceptionMappingcreateException in interface ExceptionMapping<com.lexmark.saperion.exceptions.system.SystemException>fault - the server errorcause - the exception causepublic com.lexmark.saperion.exceptions.system.SystemException createException(String message)
ExceptionMappingcreateException in interface ExceptionMapping<com.lexmark.saperion.exceptions.system.SystemException>message - the error messagepublic com.lexmark.saperion.exceptions.system.SystemException createException(String message, Throwable cause)
ExceptionMappingcreateException in interface ExceptionMapping<com.lexmark.saperion.exceptions.system.SystemException>message - the error messagecause - the exception causepublic com.lexmark.saperion.exceptions.system.SystemException createException(Throwable cause)
ExceptionMappingcreateException in interface ExceptionMapping<com.lexmark.saperion.exceptions.system.SystemException>cause - the exception causepublic com.lexmark.saperion.exceptions.ErrorCodeType getErrorCode()
ExceptionMappinggetErrorCode in interface ExceptionMapping<com.lexmark.saperion.exceptions.system.SystemException>public boolean validate()
ExceptionMappingErrorType and a Throwable.validate in interface ExceptionMapping<com.lexmark.saperion.exceptions.system.SystemException>true if the mapping is valid and the mapped exception fits the design rules, otherwise
falseCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.