Enum Class JavaModuleError
- All Implemented Interfaces:
Serializable,Comparable<JavaModuleError>,Constable,org.mule.runtime.extension.api.error.ErrorTypeDefinition<JavaModuleError>
public enum JavaModuleError
extends Enum<JavaModuleError>
implements org.mule.runtime.extension.api.error.ErrorTypeDefinition<JavaModuleError>
The
ErrorTypeDefinitions for the JavaModule- 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 ConstantDescriptionAny of the arguments is of the wrong type, missing or too many arguments were providedNo definition for the class with the specified name could be foundAn error occurred during the invocation of a Method or ConstructorThe class doesn't have a matching constructor or it is not visibleThe specified method cannot be foundIf the supplied class is abstract or an interfaceThe Class of the a given instance does not match with the expected Class -
Method Summary
Modifier and TypeMethodDescriptionstatic JavaModuleErrorReturns the enum constant of this class with the specified name.static JavaModuleError[]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
-
CLASS_NOT_FOUND
No definition for the class with the specified name could be found -
NOT_INSTANTIABLE_TYPE
If the supplied class is abstract or an interface -
NO_SUCH_CONSTRUCTOR
The class doesn't have a matching constructor or it is not visible -
ARGUMENTS_MISMATCH
Any of the arguments is of the wrong type, missing or too many arguments were provided -
INVOCATION
An error occurred during the invocation of a Method or Constructor -
NO_SUCH_METHOD
The specified method cannot be found -
WRONG_INSTANCE_CLASS
The Class of the a given instance does not match with the expected Class
-
-
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
public Optional<org.mule.runtime.extension.api.error.ErrorTypeDefinition<? extends Enum<?>>> getParent()- Specified by:
getParentin interfaceorg.mule.runtime.extension.api.error.ErrorTypeDefinition<JavaModuleError>
-