public enum ConnectorReturnCode extends java.lang.Enum<ConnectorReturnCode>
| Enum Constant and Description |
|---|
InitializationError
Initialization has not yet taken place, or an error occurred
during initialization.
|
InvalidArgument
A method was passed an invalid argument.
|
NotSupported
The requested functionality is not yet supported.
|
Success
Operation succeeded.
|
Unknown
Other error.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
The return code as an integer value.
|
static ConnectorReturnCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectorReturnCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectorReturnCode Success
public static final ConnectorReturnCode InvalidArgument
public static final ConnectorReturnCode InitializationError
public static final ConnectorReturnCode NotSupported
public static final ConnectorReturnCode Unknown
public static ConnectorReturnCode[] values()
for (ConnectorReturnCode c : ConnectorReturnCode.values()) System.out.println(c);
public static ConnectorReturnCode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getCode()