public enum ErrorCode extends Enum<ErrorCode>
| Enum Constant and Description |
|---|
BUNDLE_NOT_FOUND |
CONNECTIVITY_TESTING_OBJECT_NOT_FOUND |
NO_SUCH_APPLICATION |
UNKNOWN_ERROR |
UNSUPPORTED_CONNECTIVITY_TESTING_OBJECT |
| Modifier and Type | Method and Description |
|---|---|
static ErrorCode |
get(String errorType)
Returns the
ErrorCode mapped for the errorType. |
static ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorCode NO_SUCH_APPLICATION
public static final ErrorCode BUNDLE_NOT_FOUND
public static final ErrorCode CONNECTIVITY_TESTING_OBJECT_NOT_FOUND
public static final ErrorCode UNSUPPORTED_CONNECTIVITY_TESTING_OBJECT
public static final ErrorCode UNKNOWN_ERROR
public static ErrorCode[] values()
for (ErrorCode c : ErrorCode.values()) System.out.println(c);
public static ErrorCode 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 © 2019 MuleSoft, Inc.. All rights reserved.