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