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