public final class EcmErrorCodes extends Object
ErrorConstantType
and MUST be declared as public static final.Modifier and Type | Field and Description |
---|---|
static int |
APPLICATION_ERROR_OFFSET |
static com.lexmark.saperion.exceptions.application.ApplicationException.ApplicationError |
APPLICATION_MALFORMED_ENTITY_ERROR |
static SecurityException.SecurityError |
AUTHENTICATION_ERROR |
static SecurityException.SecurityError |
AUTHENTICATION_INVALID_HEADER |
static SecurityException.SecurityError |
AUTHENTICATION_INVALID_PASSWORD |
static SecurityException.SecurityError |
AUTHENTICATION_INVALID_TENANT |
static SecurityException.SecurityError |
AUTHENTICATION_PASSWORD_EXPIRED |
static SecurityException.SecurityError |
AUTHENTICATION_UNKNOWN_SCHEME |
static BackendSystemException.BackendSystemError |
BACKEND_CONFIGURATION_ERROR |
static BackendSystemException.BackendSystemError |
BACKEND_CONNECTION_ERROR |
static BackendSystemException.BackendSystemError |
BACKEND_EVENT_PROCESSING_ERROR |
static BackendSystemException.BackendSystemError |
BACKEND_SYSTEM_ERROR |
static com.lexmark.saperion.exceptions.runtime.ClientException.ClientError |
CLIENT_CONCURRENT_WRITE_ERROR |
static int |
CLIENT_ERROR_OFFSET |
static com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError |
CLIENT_ILLEGAL_RETENTION_ERROR |
static com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError |
CLIENT_MANDATORY_CONSTRAINT_VIOLATION_ERROR |
static com.lexmark.saperion.exceptions.runtime.ClientException.ClientError |
CLIENT_NO_LICENSE_AVAILABLE_ERROR |
static com.lexmark.saperion.exceptions.runtime.ClientException.ClientError |
CLIENT_OBJECT_LOCKED_ERROR |
static com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError |
CLIENT_RETENTION_VIOLATION_ERROR |
static com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError |
CLIENT_STORAGE_PROFILE_ASSIGNMENT_ERROR |
static com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError |
CLIENT_SYSTEM_FIELD_WRITE_ERROR |
static com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError |
CLIENT_UNIQUE_CONSTRAINT_VIOLATION_ERROR |
static com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError |
CLIENT_WRONG_ARCHIVE_TYPE_ERROR |
static int |
INTERNAL_ERROR_OFFSET |
static com.lexmark.saperion.exceptions.system.SystemException.SystemError |
INTERNAL_SERVER_ERROR |
static com.lexmark.saperion.exceptions.system.SystemException.SystemError |
PROTOCOL_INCOMPATIBLE_VERSION |
static com.lexmark.saperion.exceptions.system.SystemException.SystemError |
PROTOCOL_MISSING_VERSION |
static com.lexmark.saperion.exceptions.application.SearchException.SearchError |
SEARCH_ERROR |
static com.lexmark.saperion.exceptions.application.SearchException.SearchError |
SEARCH_RUNTIME_ERROR |
static SecurityException.SecurityError |
SECURITY_ACCESS_DENIED |
static SecurityException.SecurityError |
SECURITY_ERROR |
static int |
SECURITY_ERROR_OFFSET |
static SecurityException.SecurityError |
SECURITY_TOKEN_EXPIRED |
static SecurityException.SecurityError |
SECURITY_TOKEN_INCONSISTENT |
static SecurityException.SecurityError |
SECURITY_TOKEN_INVALID |
static SecurityException.SecurityError |
SECURITY_TOKEN_UNKNOWN |
static com.lexmark.saperion.exceptions.system.SystemException.SystemError |
SYSTEM_CONNECTION_ERROR |
static com.lexmark.saperion.exceptions.system.SystemException.SystemError |
SYSTEM_CONNECTION_POOL_ERROR |
static com.lexmark.saperion.exceptions.system.SystemException.SystemError |
SYSTEM_DESERIALIZATION_ERROR |
static com.lexmark.saperion.exceptions.system.SystemException.SystemError |
SYSTEM_SERIALIZATION_ERROR |
static WorkflowException.WorkflowError |
WORKFLOW_ACTOR_REQUIRED |
static WorkflowException.WorkflowError |
WORKFLOW_ERROR |
Modifier and Type | Method and Description |
---|---|
static 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.
|
public static final com.lexmark.saperion.exceptions.system.SystemException.SystemError SYSTEM_SERIALIZATION_ERROR
public static final com.lexmark.saperion.exceptions.system.SystemException.SystemError SYSTEM_DESERIALIZATION_ERROR
public static final com.lexmark.saperion.exceptions.system.SystemException.SystemError SYSTEM_CONNECTION_ERROR
public static final com.lexmark.saperion.exceptions.system.SystemException.SystemError SYSTEM_CONNECTION_POOL_ERROR
public static final com.lexmark.saperion.exceptions.system.SystemException.SystemError PROTOCOL_MISSING_VERSION
public static final com.lexmark.saperion.exceptions.system.SystemException.SystemError PROTOCOL_INCOMPATIBLE_VERSION
public static final BackendSystemException.BackendSystemError BACKEND_SYSTEM_ERROR
public static final BackendSystemException.BackendSystemError BACKEND_CONFIGURATION_ERROR
public static final BackendSystemException.BackendSystemError BACKEND_CONNECTION_ERROR
public static final BackendSystemException.BackendSystemError BACKEND_EVENT_PROCESSING_ERROR
public static final SecurityException.SecurityError SECURITY_ERROR
public static final SecurityException.SecurityError SECURITY_ACCESS_DENIED
public static final SecurityException.SecurityError SECURITY_TOKEN_UNKNOWN
public static final SecurityException.SecurityError SECURITY_TOKEN_EXPIRED
public static final SecurityException.SecurityError SECURITY_TOKEN_INVALID
public static final SecurityException.SecurityError SECURITY_TOKEN_INCONSISTENT
public static final SecurityException.SecurityError AUTHENTICATION_ERROR
public static final SecurityException.SecurityError AUTHENTICATION_UNKNOWN_SCHEME
public static final SecurityException.SecurityError AUTHENTICATION_INVALID_HEADER
public static final SecurityException.SecurityError AUTHENTICATION_INVALID_TENANT
public static final SecurityException.SecurityError AUTHENTICATION_INVALID_PASSWORD
public static final SecurityException.SecurityError AUTHENTICATION_PASSWORD_EXPIRED
public static final com.lexmark.saperion.exceptions.runtime.ClientException.ClientError CLIENT_CONCURRENT_WRITE_ERROR
public static final com.lexmark.saperion.exceptions.runtime.ClientException.ClientError CLIENT_OBJECT_LOCKED_ERROR
public static final com.lexmark.saperion.exceptions.runtime.ClientException.ClientError CLIENT_NO_LICENSE_AVAILABLE_ERROR
public static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError CLIENT_WRONG_ARCHIVE_TYPE_ERROR
public static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError CLIENT_SYSTEM_FIELD_WRITE_ERROR
public static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError CLIENT_MANDATORY_CONSTRAINT_VIOLATION_ERROR
public static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError CLIENT_UNIQUE_CONSTRAINT_VIOLATION_ERROR
public static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError CLIENT_STORAGE_PROFILE_ASSIGNMENT_ERROR
public static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError CLIENT_ILLEGAL_RETENTION_ERROR
public static final com.lexmark.saperion.exceptions.runtime.IllegalRequestException.IllegalInputError CLIENT_RETENTION_VIOLATION_ERROR
public static final com.lexmark.saperion.exceptions.application.ApplicationException.ApplicationError APPLICATION_MALFORMED_ENTITY_ERROR
public static final WorkflowException.WorkflowError WORKFLOW_ERROR
public static final WorkflowException.WorkflowError WORKFLOW_ACTOR_REQUIRED
public static final com.lexmark.saperion.exceptions.application.SearchException.SearchError SEARCH_ERROR
public static final com.lexmark.saperion.exceptions.system.SystemException.SystemError INTERNAL_SERVER_ERROR
public static final com.lexmark.saperion.exceptions.application.SearchException.SearchError SEARCH_RUNTIME_ERROR
public static final int INTERNAL_ERROR_OFFSET
public static final int SECURITY_ERROR_OFFSET
public static final int CLIENT_ERROR_OFFSET
public static final int APPLICATION_ERROR_OFFSET
public static com.lexmark.saperion.exceptions.ErrorConstantType[] values()
ErrorConstantType
and are declared as public static final. Other constants are ignored.public static String name(com.lexmark.saperion.exceptions.ErrorCodeType constant)
constant
- the error constant to retrieve the name forpublic static boolean isSystemError(int errorCode)
public static boolean isSecurityError(int errorCode)
public static boolean isClientError(int errorCode)
public static boolean isApplicationError(int errorCode)
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.