Interface ErrorTypeDefinition<E extends Enum<E>>
- Type Parameters:
E- Enum type
- All Known Implementing Classes:
MuleErrors
Identifies a Mule Error Type to be declared by extensions and must be implemented by an
Enum.
Error Type Hierarchy
- To declare hierarchy between error types, the values of the
Enumcan overridegetParent()and declare which is the parent of the modified element. - The parent can be any of the same
Enumclass or any ofMuleErrorsvalues, inherit fromMuleErrorsindicates that the child will inherit from a Mule exposed error. - Cyclic references are not permitted.
- Since:
- 1.0
- See Also:
-
Method Summary
-
Method Details
-
getType
- Returns:
- The type of the current error type definition
-
getParent
- Returns:
- The
Optionalparent of the current error type definition
-