Enum Class BuiltinExceptionCode
- All Implemented Interfaces:
- Serializable,- Comparable<BuiltinExceptionCode>,- Constable
The set of built-in exception codes the built-in 
ExceptionCodeProvider
 uses to assign a code to a ProcessEngineException.- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionThis code is assigned when a "column size too small" persistence exception is detected.This code is assigned when a "deadlock" persistence exception is detected.The code assigned to aProcessEngineExceptionwhen no other code is assigned.This code is assigned when a "foreign key constraint violation" persistence exception is detected.This code is assigned when anOptimisticLockingExceptionorCrdbTransactionRetryExceptionoccurs.
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionintgetCode()static BuiltinExceptionCodeReturns the enum constant of this class with the specified name.static BuiltinExceptionCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
FALLBACKThe code assigned to aProcessEngineExceptionwhen no other code is assigned.
- 
OPTIMISTIC_LOCKINGThis code is assigned when anOptimisticLockingExceptionorCrdbTransactionRetryExceptionoccurs.
- 
DEADLOCKThis code is assigned when a "deadlock" persistence exception is detected.
- 
FOREIGN_KEY_CONSTRAINT_VIOLATIONThis code is assigned when a "foreign key constraint violation" persistence exception is detected.
- 
COLUMN_SIZE_TOO_SMALLThis code is assigned when a "column size too small" persistence exception is detected.
 
- 
- 
Field Details- 
codeprotected final int code
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
getCodepublic int getCode()
 
-