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