public static enum ApplicationExceptionFactory.ApplicationErrors extends Enum<ApplicationExceptionFactory.ApplicationErrors> implements ExceptionMapping<com.lexmark.saperion.exceptions.application.ApplicationException>
| Enum Constant and Description |
|---|
APPLICATION_MALFORMED_ENTITY_ERROR |
GENERAL_ERROR |
SEARCH_ERROR |
SEARCH_STATEMENT_EXECUTION_ERROR |
SEARCH_STATEMENT_SYNTAX_ERROR |
WORKFLOW_ACTOR_REQUIRED_ERROR |
WORKFLOW_GENERAL_ERROR |
| Modifier and Type | Method and Description |
|---|---|
com.lexmark.saperion.exceptions.application.ApplicationException |
createException(com.lexmark.saperion.exceptions.ErrorType fault,
Throwable cause)
Creates a new exception for the given server fault.
|
com.lexmark.saperion.exceptions.application.ApplicationException |
createException(String message)
Creates a new exception for the given server fault.
|
com.lexmark.saperion.exceptions.application.ApplicationException |
createException(String message,
Throwable cause)
Creates a new exception for the given server fault.
|
com.lexmark.saperion.exceptions.application.ApplicationException |
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 ApplicationExceptionFactory.ApplicationErrors |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationExceptionFactory.ApplicationErrors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationExceptionFactory.ApplicationErrors GENERAL_ERROR
public static final ApplicationExceptionFactory.ApplicationErrors WORKFLOW_GENERAL_ERROR
public static final ApplicationExceptionFactory.ApplicationErrors WORKFLOW_ACTOR_REQUIRED_ERROR
public static final ApplicationExceptionFactory.ApplicationErrors APPLICATION_MALFORMED_ENTITY_ERROR
public static final ApplicationExceptionFactory.ApplicationErrors SEARCH_ERROR
public static final ApplicationExceptionFactory.ApplicationErrors SEARCH_STATEMENT_EXECUTION_ERROR
public static final ApplicationExceptionFactory.ApplicationErrors SEARCH_STATEMENT_SYNTAX_ERROR
public static ApplicationExceptionFactory.ApplicationErrors[] values()
for (ApplicationExceptionFactory.ApplicationErrors c : ApplicationExceptionFactory.ApplicationErrors.values()) System.out.println(c);
public static ApplicationExceptionFactory.ApplicationErrors 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.application.ApplicationException createException(com.lexmark.saperion.exceptions.ErrorType fault,
Throwable cause)
ExceptionMappingcreateException in interface ExceptionMapping<com.lexmark.saperion.exceptions.application.ApplicationException>fault - the server errorcause - the exception causepublic com.lexmark.saperion.exceptions.application.ApplicationException createException(String message)
ExceptionMappingcreateException in interface ExceptionMapping<com.lexmark.saperion.exceptions.application.ApplicationException>message - the error messagepublic com.lexmark.saperion.exceptions.application.ApplicationException createException(String message, Throwable cause)
ExceptionMappingcreateException in interface ExceptionMapping<com.lexmark.saperion.exceptions.application.ApplicationException>message - the error messagecause - the exception causepublic com.lexmark.saperion.exceptions.application.ApplicationException createException(Throwable cause)
ExceptionMappingcreateException in interface ExceptionMapping<com.lexmark.saperion.exceptions.application.ApplicationException>cause - the exception causepublic com.lexmark.saperion.exceptions.ErrorCodeType getErrorCode()
ExceptionMappinggetErrorCode in interface ExceptionMapping<com.lexmark.saperion.exceptions.application.ApplicationException>public boolean validate()
ExceptionMappingErrorType and a Throwable.validate in interface ExceptionMapping<com.lexmark.saperion.exceptions.application.ApplicationException>true if the mapping is valid and the mapped exception fits the design rules, otherwise
falseCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.