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