Package ag.smaser.trip.cfw
Enum ConnectorReturnCode
- All Implemented Interfaces:
Serializable
,Comparable<ConnectorReturnCode>
,java.lang.constant.Constable
Valid connector return codes.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInitialization has not yet taken place, or an error occurred during initialization.A method was passed an invalid argument.The requested functionality is not yet supported.Operation succeeded.Other error. -
Method Summary
Modifier and TypeMethodDescriptionint
getCode()
The return code as an integer value.static ConnectorReturnCode
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.
-
Enum Constant Details
-
Success
Operation succeeded. -
InvalidArgument
A method was passed an invalid argument. -
InitializationError
Initialization has not yet taken place, or an error occurred during initialization. -
NotSupported
The requested functionality is not yet supported. -
Unknown
Other error.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
public int getCode()The return code as an integer value.- Returns:
- Numeric error code
-