public enum ExceptionCode extends Enum<ExceptionCode>
Enum Constant and Description |
---|
CONFIGURE_REPORTING_ERROR |
FAILED |
FUNCTION_NOT_EXECUTED |
FUNCTION_NOT_FOUND |
FUNCTION_NOT_IMPLEMENTED |
FUNCTION_NOT_SCHEDULED |
FUNCTION_NOT_SUBMITTED |
READ_ATTRIBUTE_FAILED |
UNCATEGORIZED_ERROR |
WRITE_ATTRIBUTE_FAILED |
Modifier and Type | Method and Description |
---|---|
int |
code() |
String |
toString() |
static ExceptionCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExceptionCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExceptionCode FUNCTION_NOT_FOUND
public static final ExceptionCode FUNCTION_NOT_SUBMITTED
public static final ExceptionCode FUNCTION_NOT_SCHEDULED
public static final ExceptionCode FUNCTION_NOT_EXECUTED
public static final ExceptionCode FUNCTION_NOT_IMPLEMENTED
public static final ExceptionCode CONFIGURE_REPORTING_ERROR
public static final ExceptionCode READ_ATTRIBUTE_FAILED
public static final ExceptionCode WRITE_ATTRIBUTE_FAILED
public static final ExceptionCode FAILED
public static final ExceptionCode UNCATEGORIZED_ERROR
public static ExceptionCode[] values()
for (ExceptionCode c : ExceptionCode.values()) System.out.println(c);
public static ExceptionCode 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 String toString()
toString
in class Enum<ExceptionCode>
public int code()
Copyright © 2019. All rights reserved.