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