Package com.lexmark.saperion.exceptions
Class EcmErrorCodes
java.lang.Object
com.lexmark.saperion.exceptions.EcmErrorCodes
Defines the ECM Service error codes used in the system. All error codes defined in this definition MUST inherit from
ErrorConstantType
and MUST be declared as public static final.- Author:
- owaeldrich
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final com.lexmark.saperion.exceptions.application.ApplicationException.ApplicationError
error code - 401static final SecurityException.SecurityError
error code - 206static final SecurityException.SecurityError
error code - 208static final SecurityException.SecurityError
error code - 210static final SecurityException.SecurityError
error code - 209static final SecurityException.SecurityError
error code - 211static final SecurityException.SecurityError
error code - 207static final BackendSystemException.BackendSystemError
error code - 121static final BackendSystemException.BackendSystemError
error code - 122static final BackendSystemException.BackendSystemError
error code - 123static final BackendSystemException.BackendSystemError
error code - 120static final BackendSystemException.BackendSystemError
error code - 124static final com.lexmark.saperion.exceptions.runtime.ClientException.ClientError
error code - 302static final int
static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError
error code - 326static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError
error code - 323static final com.lexmark.saperion.exceptions.runtime.ClientException.ClientError
error code - 305static final com.lexmark.saperion.exceptions.runtime.ClientException.ClientError
error code - 304static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError
error code - 327static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError
error code - 325static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError
error code - 322static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError
error code - 324static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError
error code - 321static final int
static final com.lexmark.saperion.exceptions.system.SystemException.SystemError
error code - 500static final com.lexmark.saperion.exceptions.system.SystemException.SystemError
error code - 106static final com.lexmark.saperion.exceptions.system.SystemException.SystemError
error code - 105static final com.lexmark.saperion.exceptions.application.SearchException.SearchError
error code - 420static final com.lexmark.saperion.exceptions.application.SearchException.SearchError
error code - 423static final SecurityException.SecurityError
error code - 201static final SecurityException.SecurityError
error code - 200static final int
static final SecurityException.SecurityError
error code - 203static final SecurityException.SecurityError
error code - 205static final SecurityException.SecurityError
error code - 204static final SecurityException.SecurityError
error code - 202static final com.lexmark.saperion.exceptions.system.SystemException.SystemError
error code - 103static final com.lexmark.saperion.exceptions.system.SystemException.SystemError
error code - 104static final com.lexmark.saperion.exceptions.system.SystemException.SystemError
error code - 102static final com.lexmark.saperion.exceptions.system.SystemException.SystemError
error code - 101static final WorkflowException.WorkflowError
error code - 411static final WorkflowException.WorkflowError
error code - 410 -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isApplicationError
(int errorCode) static boolean
isClientError
(int errorCode) static boolean
isSecurityError
(int errorCode) static boolean
isSystemError
(int errorCode) static 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 Details
-
SYSTEM_SERIALIZATION_ERROR
public static final com.lexmark.saperion.exceptions.system.SystemException.SystemError SYSTEM_SERIALIZATION_ERRORerror code - 101 -
SYSTEM_DESERIALIZATION_ERROR
public static final com.lexmark.saperion.exceptions.system.SystemException.SystemError SYSTEM_DESERIALIZATION_ERRORerror code - 102 -
SYSTEM_CONNECTION_ERROR
public static final com.lexmark.saperion.exceptions.system.SystemException.SystemError SYSTEM_CONNECTION_ERRORerror code - 103 -
SYSTEM_CONNECTION_POOL_ERROR
public static final com.lexmark.saperion.exceptions.system.SystemException.SystemError SYSTEM_CONNECTION_POOL_ERRORerror code - 104 -
PROTOCOL_MISSING_VERSION
public static final com.lexmark.saperion.exceptions.system.SystemException.SystemError PROTOCOL_MISSING_VERSIONerror code - 105 -
PROTOCOL_INCOMPATIBLE_VERSION
public static final com.lexmark.saperion.exceptions.system.SystemException.SystemError PROTOCOL_INCOMPATIBLE_VERSIONerror code - 106 -
BACKEND_SYSTEM_ERROR
error code - 120 -
BACKEND_CONFIGURATION_ERROR
error code - 121 -
BACKEND_CONNECTION_ERROR
error code - 122 -
BACKEND_EVENT_PROCESSING_ERROR
error code - 123 -
BACKEND_UN_PROCESSABLE_OPERATION_ERROR
public static final BackendSystemException.BackendSystemError BACKEND_UN_PROCESSABLE_OPERATION_ERRORerror code - 124 -
SECURITY_ERROR
error code - 200 -
SECURITY_ACCESS_DENIED
error code - 201 -
SECURITY_TOKEN_UNKNOWN
error code - 202 -
SECURITY_TOKEN_EXPIRED
error code - 203 -
SECURITY_TOKEN_INVALID
error code - 204 -
SECURITY_TOKEN_INCONSISTENT
error code - 205 -
AUTHENTICATION_ERROR
error code - 206 -
AUTHENTICATION_UNKNOWN_SCHEME
error code - 207 -
AUTHENTICATION_INVALID_HEADER
error code - 208 -
AUTHENTICATION_INVALID_TENANT
error code - 209 -
AUTHENTICATION_INVALID_PASSWORD
error code - 210 -
AUTHENTICATION_PASSWORD_EXPIRED
error code - 211 -
CLIENT_CONCURRENT_WRITE_ERROR
public static final com.lexmark.saperion.exceptions.runtime.ClientException.ClientError CLIENT_CONCURRENT_WRITE_ERRORerror code - 302 -
CLIENT_OBJECT_LOCKED_ERROR
public static final com.lexmark.saperion.exceptions.runtime.ClientException.ClientError CLIENT_OBJECT_LOCKED_ERRORerror code - 304 -
CLIENT_NO_LICENSE_AVAILABLE_ERROR
public static final com.lexmark.saperion.exceptions.runtime.ClientException.ClientError CLIENT_NO_LICENSE_AVAILABLE_ERRORerror code - 305 -
CLIENT_WRONG_ARCHIVE_TYPE_ERROR
public static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError CLIENT_WRONG_ARCHIVE_TYPE_ERRORerror code - 321 -
CLIENT_SYSTEM_FIELD_WRITE_ERROR
public static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError CLIENT_SYSTEM_FIELD_WRITE_ERRORerror code - 322 -
CLIENT_MANDATORY_CONSTRAINT_VIOLATION_ERROR
public static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError CLIENT_MANDATORY_CONSTRAINT_VIOLATION_ERRORerror code - 323 -
CLIENT_UNIQUE_CONSTRAINT_VIOLATION_ERROR
public static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError CLIENT_UNIQUE_CONSTRAINT_VIOLATION_ERRORerror code - 324 -
CLIENT_STORAGE_PROFILE_ASSIGNMENT_ERROR
public static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError CLIENT_STORAGE_PROFILE_ASSIGNMENT_ERRORerror code - 325 -
CLIENT_ILLEGAL_RETENTION_ERROR
public static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError CLIENT_ILLEGAL_RETENTION_ERRORerror code - 326 -
CLIENT_RETENTION_VIOLATION_ERROR
public static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError CLIENT_RETENTION_VIOLATION_ERRORerror code - 327 -
APPLICATION_MALFORMED_ENTITY_ERROR
public static final com.lexmark.saperion.exceptions.application.ApplicationException.ApplicationError APPLICATION_MALFORMED_ENTITY_ERRORerror code - 401 -
WORKFLOW_ERROR
error code - 410 -
WORKFLOW_ACTOR_REQUIRED
error code - 411 -
SEARCH_ERROR
public static final com.lexmark.saperion.exceptions.application.SearchException.SearchError SEARCH_ERRORerror code - 420 -
INTERNAL_SERVER_ERROR
public static final com.lexmark.saperion.exceptions.system.SystemException.SystemError INTERNAL_SERVER_ERRORerror code - 500 -
SEARCH_RUNTIME_ERROR
public static final com.lexmark.saperion.exceptions.application.SearchException.SearchError SEARCH_RUNTIME_ERRORerror code - 423 -
INTERNAL_ERROR_OFFSET
public static final int INTERNAL_ERROR_OFFSET- See Also:
-
SECURITY_ERROR_OFFSET
public static final int SECURITY_ERROR_OFFSET- See Also:
-
CLIENT_ERROR_OFFSET
public static final int CLIENT_ERROR_OFFSET- See Also:
-
APPLICATION_ERROR_OFFSET
public static final int APPLICATION_ERROR_OFFSET- See Also:
-
-
Method Details
-
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
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)
-