public enum ResultCode extends Enum<ResultCode>
Enum Constant and Description |
---|
OPERATION_INVALID_ARGUMENT |
OPERATION_NOT_IMPLEMENTED |
OPERATION_REJECT |
OPERATION_SUCCESS |
OPERATION_UNKNOWN_ERROR |
RESULT_UNKNOWN_SESSION |
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
static ResultCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultCode OPERATION_SUCCESS
public static final ResultCode OPERATION_NOT_IMPLEMENTED
public static final ResultCode RESULT_UNKNOWN_SESSION
public static final ResultCode OPERATION_UNKNOWN_ERROR
public static final ResultCode OPERATION_REJECT
public static final ResultCode OPERATION_INVALID_ARGUMENT
public static ResultCode[] values()
for (ResultCode c : ResultCode.values()) System.out.println(c);
public static ResultCode 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 getCode()
Copyright © 2000–2022 EPAM Systems. All rights reserved.