@MinMuleVersion(value="4.5.0") public enum MuleErrors extends Enum<MuleErrors> implements ErrorTypeDefinition<MuleErrors>
ErrorTypeDefinition Enum which publish the available errors that the Mule Runtime provides to be extended from
an extension.| Enum Constant and Description |
|---|
ANY
Wild card that matches with any error and is on top of the error hierarchy for those that allow handling.
|
CLIENT_SECURITY
Indicates a security type problem enforced by an external entity.
|
CONNECTIVITY
Indicates that a problem occurred and a connection could not be established.
|
CRITICAL
Indicates that a severe error occurred.
|
EXPRESSION
Indicates that a problem occurred when resolving an expression.
|
REDELIVERY_EXHAUSTED
Indicates that the retry policy, of a certain component, to execute some action, eg: connectivity, delivery has been.
|
RETRY_EXHAUSTED
Indicates that the retry of a certain execution block has been exhausted.
|
ROUTING
Indicates that a problem occurred when routing a message.
|
SECURITY
Indicates a security type problem occurred, eg: invalid credentials, expired token, etc.
|
SERVER_SECURITY
Indicates a security type problem enforced by the mule runtime.
|
SOURCE
Indicates that an error occurred in the source of a flow.
|
SOURCE_ERROR_RESPONSE_GENERATE
Indicates that an error occurred in the source of the flow generating the parameters of an error response.
|
SOURCE_ERROR_RESPONSE_SEND
Indicates that an error occurred in the source of the flow sending an error response.
|
SOURCE_RESPONSE
Indicates that an error occurred in the source of the flow processing a successful response.
|
SOURCE_RESPONSE_GENERATE
Indicates that an error occurred in the source of the flow generating the parameters of a successful response.
|
SOURCE_RESPONSE_SEND
Indicates that an error occurred in the source of the flow sending a successful response.
|
TRANSFORMATION
Indicates that a problem occurred when transforming a value.
|
VALIDATION
Indicates that a validator failed.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<ErrorTypeDefinition<?>> |
getParent() |
static MuleErrors |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MuleErrors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetTypepublic static final MuleErrors ANY
public static final MuleErrors CONNECTIVITY
public static final MuleErrors TRANSFORMATION
public static final MuleErrors EXPRESSION
public static final MuleErrors REDELIVERY_EXHAUSTED
public static final MuleErrors RETRY_EXHAUSTED
public static final MuleErrors ROUTING
public static final MuleErrors SECURITY
public static final MuleErrors CLIENT_SECURITY
public static final MuleErrors SERVER_SECURITY
public static final MuleErrors SOURCE
public static final MuleErrors SOURCE_RESPONSE
public static final MuleErrors SOURCE_RESPONSE_GENERATE
public static final MuleErrors SOURCE_RESPONSE_SEND
public static final MuleErrors SOURCE_ERROR_RESPONSE_GENERATE
public static final MuleErrors SOURCE_ERROR_RESPONSE_SEND
public static final MuleErrors VALIDATION
public static final MuleErrors CRITICAL
public static MuleErrors[] values()
for (MuleErrors c : MuleErrors.values()) System.out.println(c);
public static MuleErrors 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 Optional<ErrorTypeDefinition<?>> getParent()
getParent in interface ErrorTypeDefinition<MuleErrors>Optional parent of the current error type definitionCopyright © 2022. All rights reserved.