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 intstatic final com.lexmark.saperion.exceptions.application.ApplicationException.ApplicationErrorerror code - 401static final SecurityException.SecurityErrorerror code - 206static final SecurityException.SecurityErrorerror code - 208static final SecurityException.SecurityErrorerror code - 210static final SecurityException.SecurityErrorerror code - 209static final SecurityException.SecurityErrorerror code - 211static final SecurityException.SecurityErrorerror code - 207static final BackendSystemException.BackendSystemErrorerror code - 121static final BackendSystemException.BackendSystemErrorerror code - 122static final BackendSystemException.BackendSystemErrorerror code - 123static final BackendSystemException.BackendSystemErrorerror code - 120static final BackendSystemException.BackendSystemErrorerror code - 124static final com.lexmark.saperion.exceptions.runtime.ClientException.ClientErrorerror code - 302static final intstatic final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputErrorerror code - 326static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputErrorerror code - 323static final com.lexmark.saperion.exceptions.runtime.ClientException.ClientErrorerror code - 305static final com.lexmark.saperion.exceptions.runtime.ClientException.ClientErrorerror code - 304static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputErrorerror code - 327static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputErrorerror code - 325static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputErrorerror code - 322static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputErrorerror code - 324static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputErrorerror code - 321static final intstatic final com.lexmark.saperion.exceptions.system.SystemException.SystemErrorerror code - 500static final com.lexmark.saperion.exceptions.system.SystemException.SystemErrorerror code - 106static final com.lexmark.saperion.exceptions.system.SystemException.SystemErrorerror code - 105static final com.lexmark.saperion.exceptions.application.SearchException.SearchErrorerror code - 420static final com.lexmark.saperion.exceptions.application.SearchException.SearchErrorerror code - 423static final SecurityException.SecurityErrorerror code - 201static final SecurityException.SecurityErrorerror code - 200static final intstatic final SecurityException.SecurityErrorerror code - 203static final SecurityException.SecurityErrorerror code - 205static final SecurityException.SecurityErrorerror code - 204static final SecurityException.SecurityErrorerror code - 202static final com.lexmark.saperion.exceptions.system.SystemException.SystemErrorerror code - 103static final com.lexmark.saperion.exceptions.system.SystemException.SystemErrorerror code - 104static final com.lexmark.saperion.exceptions.system.SystemException.SystemErrorerror code - 102static final com.lexmark.saperion.exceptions.system.SystemException.SystemErrorerror code - 101static final WorkflowException.WorkflowErrorerror code - 411static final WorkflowException.WorkflowErrorerror code - 410 -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisApplicationError(int errorCode) static booleanisClientError(int errorCode) static booleanisSecurityError(int errorCode) static booleanisSystemError(int errorCode) static Stringname(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 fromErrorConstantTypeand 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)
-