public enum ErrorType extends Enum<ErrorType> implements org.mule.runtime.extension.api.error.ErrorTypeDefinition<ErrorType>
| Enum Constant and Description |
|---|
PARSE
Error parsing input data.
|
SCHEMA
Schema validation error.
|
UNKNOWN
Unknown error.
|
WRITE
Error writing output data.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<org.mule.runtime.extension.api.error.ErrorTypeDefinition<? extends Enum<?>>> |
getParent() |
static ErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorType UNKNOWN
public static final ErrorType SCHEMA
public static final ErrorType PARSE
public static final ErrorType WRITE
public static ErrorType[] values()
for (ErrorType c : ErrorType.values()) System.out.println(c);
public static ErrorType 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 nullCopyright © 2020 MuleSoft, Inc.. All rights reserved.