public enum TchdErrorCode extends Enum<TchdErrorCode>
Enum Constant and Description |
---|
INTERNALERROR |
INVALIDPARAMETER |
INVALIDPARAMETERVALUE |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static TchdErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TchdErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TchdErrorCode INTERNALERROR
public static final TchdErrorCode INVALIDPARAMETER
public static final TchdErrorCode INVALIDPARAMETERVALUE
public static TchdErrorCode[] values()
for (TchdErrorCode c : TchdErrorCode.values()) System.out.println(c);
public static TchdErrorCode 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 getValue()
Copyright © 2024. All rights reserved.