public enum JavaModuleError extends Enum<JavaModuleError> implements org.mule.runtime.extension.api.error.ErrorTypeDefinition<JavaModuleError>
ErrorTypeDefinitions for the JavaModule| Enum Constant and Description |
|---|
ARGUMENTS_MISMATCH
Any of the arguments is of the wrong type, missing or too many arguments were provided
|
CLASS_NOT_FOUND
No definition for the class with the specified name could be found
|
INVOCATION
An error occurred during the invocation of a Method or Constructor
|
NO_SUCH_CONSTRUCTOR
The class doesn't have a matching constructor or it is not visible
|
NO_SUCH_METHOD
The specified method cannot be found
|
NOT_INSTANTIABLE_TYPE
If the supplied class is abstract or an interface
|
WRONG_INSTANCE_CLASS
The Class of the a given instance does not match with the expected Class
|
| Modifier and Type | Method and Description |
|---|---|
Optional<org.mule.runtime.extension.api.error.ErrorTypeDefinition<? extends Enum<?>>> |
getParent() |
static JavaModuleError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavaModuleError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaModuleError CLASS_NOT_FOUND
public static final JavaModuleError NOT_INSTANTIABLE_TYPE
public static final JavaModuleError NO_SUCH_CONSTRUCTOR
public static final JavaModuleError ARGUMENTS_MISMATCH
public static final JavaModuleError INVOCATION
public static final JavaModuleError NO_SUCH_METHOD
public static final JavaModuleError WRONG_INSTANCE_CLASS
public static JavaModuleError[] values()
for (JavaModuleError c : JavaModuleError.values()) System.out.println(c);
public static JavaModuleError 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<org.mule.runtime.extension.api.error.ErrorTypeDefinition<? extends Enum<?>>> getParent()
getParent in interface org.mule.runtime.extension.api.error.ErrorTypeDefinition<JavaModuleError>Copyright © 2025 MuleSoft, Inc.. All rights reserved.