Enum Class MuleErrors
- All Implemented Interfaces:
Serializable,Comparable<MuleErrors>,Constable,ErrorTypeDefinition<MuleErrors>
@MinMuleVersion("4.1")
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.- Since:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWild card that matches with any error and is on top of the error hierarchy for those that allow handling.Indicates a security type problem enforced by an external entity.Indicates that a problem occurred and a connection could not be established.Indicates that a severe error occurred.Indicates that a problem occurred when resolving an expression.Indicates that the retry policy, of a certain component, to execute some action, eg: connectivity, delivery has been.Indicates that the retry of a certain execution block has been exhausted.Indicates that a problem occurred when routing a message.Indicates a security type problem occurred, eg: invalid credentials, expired token, etc.Indicates a security type problem enforced by the mule runtime.Indicates that an error occurred in the source of a flow.Indicates that an error occurred in the source of the flow generating the parameters of an error response.Indicates that an error occurred in the source of the flow sending an error response.Indicates that an error occurred in the source of the flow processing a successful response.Indicates that an error occurred in the source of the flow generating the parameters of a successful response.Indicates that an error occurred in the source of the flow sending a successful response.Indicates that a problem occurred when transforming a value.Indicates that a validator failed. -
Method Summary
Modifier and TypeMethodDescriptionstatic MuleErrorsReturns the enum constant of this class with the specified name.static MuleErrors[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.mule.runtime.extension.api.error.ErrorTypeDefinition
getType
-
Enum Constant Details
-
ANY
Wild card that matches with any error and is on top of the error hierarchy for those that allow handling. -
CONNECTIVITY
Indicates that a problem occurred and a connection could not be established. -
TRANSFORMATION
Indicates that a problem occurred when transforming a value. -
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. exhausted -
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. -
CLIENT_SECURITY
Indicates a security type problem enforced by an external entity. -
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_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. -
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. -
VALIDATION
Indicates that a validator failed. -
CRITICAL
Indicates that a severe error occurred. Cannot be handled. Top of the error hierarchy for those that do not allow handling.
-
-
Method Details
-
values
Returns 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
-
valueOf
Returns 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 nameNullPointerException- if the argument is null
-
getParent
- Specified by:
getParentin interfaceErrorTypeDefinition<MuleErrors>- Returns:
- The
Optionalparent of the current error type definition
-