Enum SystemServiceV1.SystemServiceInfoError
- java.lang.Object
-
- java.lang.Enum<SystemServiceV1.SystemServiceInfoError>
-
- aero.panasonic.inflight.services.servicecontrol.SystemServiceV1.SystemServiceInfoError
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SystemServiceV1.SystemServiceInfoError>
- Enclosing class:
- SystemServiceV1
public static enum SystemServiceV1.SystemServiceInfoError extends java.lang.Enum<SystemServiceV1.SystemServiceInfoError>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SYSTEM_SERVICE_INFO_ERROR_BAD_REQUESTBad request error.SYSTEM_SERVICE_INFO_ERROR_BAD_RESPONSEBad response error.SYSTEM_SERVICE_INFO_ERROR_CONNECTION_ERRORConnection error.SYSTEM_SERVICE_INFO_ERROR_SERVICE_NOT_FOUNDService not found error.SYSTEM_SERVICE_INFO_ERROR_UNKNOWNUnknown error.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SystemServiceV1.SystemServiceInfoErrorgetErrorById(int siErrorId)intgetErrorId()static java.lang.StringgetErrorMessage(SystemServiceV1.SystemServiceInfoError siError)static SystemServiceV1.SystemServiceInfoErrorgetSystemServiceInfoErrorById(int id)static SystemServiceV1.SystemServiceInfoErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SystemServiceV1.SystemServiceInfoError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SYSTEM_SERVICE_INFO_ERROR_UNKNOWN
public static final SystemServiceV1.SystemServiceInfoError SYSTEM_SERVICE_INFO_ERROR_UNKNOWN
Unknown error.
-
SYSTEM_SERVICE_INFO_ERROR_BAD_REQUEST
public static final SystemServiceV1.SystemServiceInfoError SYSTEM_SERVICE_INFO_ERROR_BAD_REQUEST
Bad request error.
-
SYSTEM_SERVICE_INFO_ERROR_CONNECTION_ERROR
public static final SystemServiceV1.SystemServiceInfoError SYSTEM_SERVICE_INFO_ERROR_CONNECTION_ERROR
Connection error.
-
SYSTEM_SERVICE_INFO_ERROR_BAD_RESPONSE
public static final SystemServiceV1.SystemServiceInfoError SYSTEM_SERVICE_INFO_ERROR_BAD_RESPONSE
Bad response error.
-
SYSTEM_SERVICE_INFO_ERROR_SERVICE_NOT_FOUND
public static final SystemServiceV1.SystemServiceInfoError SYSTEM_SERVICE_INFO_ERROR_SERVICE_NOT_FOUND
Service not found error.
-
-
Method Detail
-
values
public static SystemServiceV1.SystemServiceInfoError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SystemServiceV1.SystemServiceInfoError c : SystemServiceV1.SystemServiceInfoError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SystemServiceV1.SystemServiceInfoError valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getSystemServiceInfoErrorById
public static SystemServiceV1.SystemServiceInfoError getSystemServiceInfoErrorById(int id)
-
getErrorById
public static SystemServiceV1.SystemServiceInfoError getErrorById(int siErrorId)
-
getErrorMessage
public static java.lang.String getErrorMessage(SystemServiceV1.SystemServiceInfoError siError)
-
getErrorId
public int getErrorId()
-
-