Package com.lexmark.saperion.exceptions
Class EcmErrorCodes
- java.lang.Object
-
- com.lexmark.saperion.exceptions.EcmErrorCodes
-
public final class EcmErrorCodes extends java.lang.Object
Defines the ECM Service error codes used in the system. All error codes defined in this definition MUST inherit fromErrorConstantType
and MUST be declared as public static final.- Author:
- owaeldrich
-
-
Field Summary
Fields Modifier and Type Field Description static int
APPLICATION_ERROR_OFFSET
static com.lexmark.saperion.exceptions.application.ApplicationException.ApplicationError
APPLICATION_MALFORMED_ENTITY_ERROR
error code - 401static SecurityException.SecurityError
AUTHENTICATION_ERROR
error code - 206static SecurityException.SecurityError
AUTHENTICATION_INVALID_HEADER
error code - 208static SecurityException.SecurityError
AUTHENTICATION_INVALID_PASSWORD
error code - 210static SecurityException.SecurityError
AUTHENTICATION_INVALID_TENANT
error code - 209static SecurityException.SecurityError
AUTHENTICATION_PASSWORD_EXPIRED
error code - 211static SecurityException.SecurityError
AUTHENTICATION_UNKNOWN_SCHEME
error code - 207static BackendSystemException.BackendSystemError
BACKEND_CONFIGURATION_ERROR
error code - 121static BackendSystemException.BackendSystemError
BACKEND_CONNECTION_ERROR
error code - 122static BackendSystemException.BackendSystemError
BACKEND_EVENT_PROCESSING_ERROR
error code - 123static BackendSystemException.BackendSystemError
BACKEND_SYSTEM_ERROR
error code - 120static BackendSystemException.BackendSystemError
BACKEND_UN_PROCESSABLE_OPERATION_ERROR
error code - 124static com.lexmark.saperion.exceptions.runtime.ClientException.ClientError
CLIENT_CONCURRENT_WRITE_ERROR
error code - 302static int
CLIENT_ERROR_OFFSET
static com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError
CLIENT_ILLEGAL_RETENTION_ERROR
error code - 326static com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError
CLIENT_MANDATORY_CONSTRAINT_VIOLATION_ERROR
error code - 323static com.lexmark.saperion.exceptions.runtime.ClientException.ClientError
CLIENT_NO_LICENSE_AVAILABLE_ERROR
error code - 305static com.lexmark.saperion.exceptions.runtime.ClientException.ClientError
CLIENT_OBJECT_LOCKED_ERROR
error code - 304static com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError
CLIENT_RETENTION_VIOLATION_ERROR
error code - 327static com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError
CLIENT_STORAGE_PROFILE_ASSIGNMENT_ERROR
error code - 325static com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError
CLIENT_SYSTEM_FIELD_WRITE_ERROR
error code - 322static com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError
CLIENT_UNIQUE_CONSTRAINT_VIOLATION_ERROR
error code - 324static com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError
CLIENT_WRONG_ARCHIVE_TYPE_ERROR
error code - 321static int
INTERNAL_ERROR_OFFSET
static com.lexmark.saperion.exceptions.system.SystemException.SystemError
INTERNAL_SERVER_ERROR
error code - 500static com.lexmark.saperion.exceptions.system.SystemException.SystemError
PROTOCOL_INCOMPATIBLE_VERSION
error code - 106static com.lexmark.saperion.exceptions.system.SystemException.SystemError
PROTOCOL_MISSING_VERSION
error code - 105static com.lexmark.saperion.exceptions.application.SearchException.SearchError
SEARCH_ERROR
error code - 420static com.lexmark.saperion.exceptions.application.SearchException.SearchError
SEARCH_RUNTIME_ERROR
error code - 423static SecurityException.SecurityError
SECURITY_ACCESS_DENIED
error code - 201static SecurityException.SecurityError
SECURITY_ERROR
error code - 200static int
SECURITY_ERROR_OFFSET
static SecurityException.SecurityError
SECURITY_TOKEN_EXPIRED
error code - 203static SecurityException.SecurityError
SECURITY_TOKEN_INCONSISTENT
error code - 205static SecurityException.SecurityError
SECURITY_TOKEN_INVALID
error code - 204static SecurityException.SecurityError
SECURITY_TOKEN_UNKNOWN
error code - 202static com.lexmark.saperion.exceptions.system.SystemException.SystemError
SYSTEM_CONNECTION_ERROR
error code - 103static com.lexmark.saperion.exceptions.system.SystemException.SystemError
SYSTEM_CONNECTION_POOL_ERROR
error code - 104static com.lexmark.saperion.exceptions.system.SystemException.SystemError
SYSTEM_DESERIALIZATION_ERROR
error code - 102static com.lexmark.saperion.exceptions.system.SystemException.SystemError
SYSTEM_SERIALIZATION_ERROR
error code - 101static WorkflowException.WorkflowError
WORKFLOW_ACTOR_REQUIRED
error code - 411static WorkflowException.WorkflowError
WORKFLOW_ERROR
error code - 410
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isApplicationError(int errorCode)
static boolean
isClientError(int errorCode)
static boolean
isSecurityError(int errorCode)
static boolean
isSystemError(int errorCode)
static java.lang.String
name(com.lexmark.saperion.exceptions.ErrorCodeType constant)
Returns the name for the given error code constant.static com.lexmark.saperion.exceptions.ErrorConstantType[]
values()
Returns all error code constant definitions from this class.
-
-
-
Field Detail
-
SYSTEM_SERIALIZATION_ERROR
public static final com.lexmark.saperion.exceptions.system.SystemException.SystemError SYSTEM_SERIALIZATION_ERROR
error code - 101
-
SYSTEM_DESERIALIZATION_ERROR
public static final com.lexmark.saperion.exceptions.system.SystemException.SystemError SYSTEM_DESERIALIZATION_ERROR
error code - 102
-
SYSTEM_CONNECTION_ERROR
public static final com.lexmark.saperion.exceptions.system.SystemException.SystemError SYSTEM_CONNECTION_ERROR
error code - 103
-
SYSTEM_CONNECTION_POOL_ERROR
public static final com.lexmark.saperion.exceptions.system.SystemException.SystemError SYSTEM_CONNECTION_POOL_ERROR
error code - 104
-
PROTOCOL_MISSING_VERSION
public static final com.lexmark.saperion.exceptions.system.SystemException.SystemError PROTOCOL_MISSING_VERSION
error code - 105
-
PROTOCOL_INCOMPATIBLE_VERSION
public static final com.lexmark.saperion.exceptions.system.SystemException.SystemError PROTOCOL_INCOMPATIBLE_VERSION
error code - 106
-
BACKEND_SYSTEM_ERROR
public static final BackendSystemException.BackendSystemError BACKEND_SYSTEM_ERROR
error code - 120
-
BACKEND_CONFIGURATION_ERROR
public static final BackendSystemException.BackendSystemError BACKEND_CONFIGURATION_ERROR
error code - 121
-
BACKEND_CONNECTION_ERROR
public static final BackendSystemException.BackendSystemError BACKEND_CONNECTION_ERROR
error code - 122
-
BACKEND_EVENT_PROCESSING_ERROR
public static final BackendSystemException.BackendSystemError BACKEND_EVENT_PROCESSING_ERROR
error code - 123
-
BACKEND_UN_PROCESSABLE_OPERATION_ERROR
public static final BackendSystemException.BackendSystemError BACKEND_UN_PROCESSABLE_OPERATION_ERROR
error code - 124
-
SECURITY_ERROR
public static final SecurityException.SecurityError SECURITY_ERROR
error code - 200
-
SECURITY_ACCESS_DENIED
public static final SecurityException.SecurityError SECURITY_ACCESS_DENIED
error code - 201
-
SECURITY_TOKEN_UNKNOWN
public static final SecurityException.SecurityError SECURITY_TOKEN_UNKNOWN
error code - 202
-
SECURITY_TOKEN_EXPIRED
public static final SecurityException.SecurityError SECURITY_TOKEN_EXPIRED
error code - 203
-
SECURITY_TOKEN_INVALID
public static final SecurityException.SecurityError SECURITY_TOKEN_INVALID
error code - 204
-
SECURITY_TOKEN_INCONSISTENT
public static final SecurityException.SecurityError SECURITY_TOKEN_INCONSISTENT
error code - 205
-
AUTHENTICATION_ERROR
public static final SecurityException.SecurityError AUTHENTICATION_ERROR
error code - 206
-
AUTHENTICATION_UNKNOWN_SCHEME
public static final SecurityException.SecurityError AUTHENTICATION_UNKNOWN_SCHEME
error code - 207
-
AUTHENTICATION_INVALID_HEADER
public static final SecurityException.SecurityError AUTHENTICATION_INVALID_HEADER
error code - 208
-
AUTHENTICATION_INVALID_TENANT
public static final SecurityException.SecurityError AUTHENTICATION_INVALID_TENANT
error code - 209
-
AUTHENTICATION_INVALID_PASSWORD
public static final SecurityException.SecurityError AUTHENTICATION_INVALID_PASSWORD
error code - 210
-
AUTHENTICATION_PASSWORD_EXPIRED
public static final SecurityException.SecurityError AUTHENTICATION_PASSWORD_EXPIRED
error code - 211
-
CLIENT_CONCURRENT_WRITE_ERROR
public static final com.lexmark.saperion.exceptions.runtime.ClientException.ClientError CLIENT_CONCURRENT_WRITE_ERROR
error code - 302
-
CLIENT_OBJECT_LOCKED_ERROR
public static final com.lexmark.saperion.exceptions.runtime.ClientException.ClientError CLIENT_OBJECT_LOCKED_ERROR
error code - 304
-
CLIENT_NO_LICENSE_AVAILABLE_ERROR
public static final com.lexmark.saperion.exceptions.runtime.ClientException.ClientError CLIENT_NO_LICENSE_AVAILABLE_ERROR
error code - 305
-
CLIENT_WRONG_ARCHIVE_TYPE_ERROR
public static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError CLIENT_WRONG_ARCHIVE_TYPE_ERROR
error code - 321
-
CLIENT_SYSTEM_FIELD_WRITE_ERROR
public static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError CLIENT_SYSTEM_FIELD_WRITE_ERROR
error code - 322
-
CLIENT_MANDATORY_CONSTRAINT_VIOLATION_ERROR
public static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError CLIENT_MANDATORY_CONSTRAINT_VIOLATION_ERROR
error code - 323
-
CLIENT_UNIQUE_CONSTRAINT_VIOLATION_ERROR
public static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError CLIENT_UNIQUE_CONSTRAINT_VIOLATION_ERROR
error code - 324
-
CLIENT_STORAGE_PROFILE_ASSIGNMENT_ERROR
public static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError CLIENT_STORAGE_PROFILE_ASSIGNMENT_ERROR
error code - 325
-
CLIENT_ILLEGAL_RETENTION_ERROR
public static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError CLIENT_ILLEGAL_RETENTION_ERROR
error code - 326
-
CLIENT_RETENTION_VIOLATION_ERROR
public static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError CLIENT_RETENTION_VIOLATION_ERROR
error code - 327
-
APPLICATION_MALFORMED_ENTITY_ERROR
public static final com.lexmark.saperion.exceptions.application.ApplicationException.ApplicationError APPLICATION_MALFORMED_ENTITY_ERROR
error code - 401
-
WORKFLOW_ERROR
public static final WorkflowException.WorkflowError WORKFLOW_ERROR
error code - 410
-
WORKFLOW_ACTOR_REQUIRED
public static final WorkflowException.WorkflowError WORKFLOW_ACTOR_REQUIRED
error code - 411
-
SEARCH_ERROR
public static final com.lexmark.saperion.exceptions.application.SearchException.SearchError SEARCH_ERROR
error code - 420
-
INTERNAL_SERVER_ERROR
public static final com.lexmark.saperion.exceptions.system.SystemException.SystemError INTERNAL_SERVER_ERROR
error code - 500
-
SEARCH_RUNTIME_ERROR
public static final com.lexmark.saperion.exceptions.application.SearchException.SearchError SEARCH_RUNTIME_ERROR
error code - 423
-
INTERNAL_ERROR_OFFSET
public static final int INTERNAL_ERROR_OFFSET
- See Also:
- Constant Field Values
-
SECURITY_ERROR_OFFSET
public static final int SECURITY_ERROR_OFFSET
- See Also:
- Constant Field Values
-
CLIENT_ERROR_OFFSET
public static final int CLIENT_ERROR_OFFSET
- See Also:
- Constant Field Values
-
APPLICATION_ERROR_OFFSET
public static final int APPLICATION_ERROR_OFFSET
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static com.lexmark.saperion.exceptions.ErrorConstantType[] values()
Returns all error code constant definitions from this class. Constants returned by this method inherit fromErrorConstantType
and are declared as public static final. Other constants are ignored.- Returns:
- the defined error code constants
-
name
public static java.lang.String name(com.lexmark.saperion.exceptions.ErrorCodeType constant)
Returns the name for the given error code constant.- Parameters:
constant
- the error constant to retrieve the name for- Returns:
- the error code name
-
isSystemError
public static boolean isSystemError(int errorCode)
-
isSecurityError
public static boolean isSecurityError(int errorCode)
-
isClientError
public static boolean isClientError(int errorCode)
-
isApplicationError
public static boolean isApplicationError(int errorCode)
-
-