public enum ExceptionCode extends Enum<ExceptionCode>
Modifier and Type | Method and Description |
---|---|
int |
code() |
String |
getDescription() |
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 PARAMETER_OUT_OF_RANGE
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 READ_ONLY
public static final ExceptionCode NON_EXISTENT
public static final ExceptionCode TIMED_OUT
public static final ExceptionCode WRITE_ONLY
public static final ExceptionCode DOES_NOT_EXIST
public static final ExceptionCode UNSUPPORTED
public static final ExceptionCode UNREPORTABLE
public static final ExceptionCode INVALID_DATA_TYPE
public static final ExceptionCode INVALID_VALUE
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 getDescription()
public String toString()
toString
in class Enum<ExceptionCode>
public int code()
Copyright © 2019. All rights reserved.