@Deprecated public enum ReturnCode extends Enum<ReturnCode>
Enum Constant and Description |
---|
FILE_NOT_FOUND
Deprecated.
|
INTERNAL_ERROR
Deprecated.
|
INVALID_ARGUMENT
Deprecated.
|
INVALID_INPUT_DATA
Deprecated.
|
INVALID_INSTANCE
Deprecated.
|
INVALID_ITER_INSTANCE
Deprecated.
|
IO_ERROR
Deprecated.
|
LICENSE_EXPIRED
Deprecated.
|
LICENSE_FILE_NOT_FOUND
Deprecated.
|
LICENSE_INVALID
Deprecated.
|
NO_MATCH
Deprecated.
|
NOT_ENOUGH_DATA
Deprecated.
|
OK
Deprecated.
|
PROFILELOAD_ERROR
Deprecated.
|
SYSTEM_ERROR
Deprecated.
|
UNIMPLEMENTED
Deprecated.
|
UNSPECIFIED_ERROR
Deprecated.
|
XML_PARSE_ERROR
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Deprecated.
Get the human-readable description of this return code.
|
int |
getNativeCode()
Deprecated.
Get the numeric ID for this return code.
|
static ReturnCode |
lookupByNativeCode(int nativeCode)
Deprecated.
Return an enumeration for this return code.
|
static ReturnCode |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static ReturnCode[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReturnCode OK
public static final ReturnCode UNSPECIFIED_ERROR
public static final ReturnCode INTERNAL_ERROR
public static final ReturnCode UNIMPLEMENTED
public static final ReturnCode IO_ERROR
public static final ReturnCode INVALID_INSTANCE
public static final ReturnCode INVALID_ARGUMENT
public static final ReturnCode SYSTEM_ERROR
public static final ReturnCode FILE_NOT_FOUND
public static final ReturnCode LICENSE_INVALID
public static final ReturnCode LICENSE_EXPIRED
public static final ReturnCode LICENSE_FILE_NOT_FOUND
public static final ReturnCode NOT_ENOUGH_DATA
public static final ReturnCode NO_MATCH
public static final ReturnCode INVALID_INPUT_DATA
public static final ReturnCode INVALID_ITER_INSTANCE
public static final ReturnCode PROFILELOAD_ERROR
public static final ReturnCode XML_PARSE_ERROR
public static ReturnCode[] values()
for (ReturnCode c : ReturnCode.values()) System.out.println(c);
public static ReturnCode 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 getDescription()
public int getNativeCode()
public static ReturnCode lookupByNativeCode(int nativeCode)
nativeCode
- the native code.Copyright © 2016 Basis Technology Corporation. All Rights Reserved.