Enum SyncError
- java.lang.Object
-
- java.lang.Enum<SyncError>
-
- aero.panasonic.inflight.services.user.v2.SyncError
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAD_REQUESTBad request.CONFLICT_NOT_FOUNDConflicts not found.CONFLICT_RESOLUTION_NEEDEDConflicts resolution is needed.ERROR_BAD_RESPONSEBad response from server.ERROR_CONFLICTSConflicts found.ERROR_CONNECTION_ERRORFailed to reach server.ERROR_SYNC_ERRORSync failed.ERROR_SYNC_IN_PROGRESSSync is in progress.INTERNAL_ERRORInternal server error.SERVICE_NOT_FOUNDService is not available.UNKNOWNUnknown error has occurred.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SyncErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SyncError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final SyncError UNKNOWN
Unknown error has occurred.
-
BAD_REQUEST
public static final SyncError BAD_REQUEST
Bad request. Invalid or missing required parameters.
-
SERVICE_NOT_FOUND
public static final SyncError SERVICE_NOT_FOUND
Service is not available.
-
INTERNAL_ERROR
public static final SyncError INTERNAL_ERROR
Internal server error.
-
ERROR_BAD_RESPONSE
public static final SyncError ERROR_BAD_RESPONSE
Bad response from server.
-
ERROR_CONNECTION_ERROR
public static final SyncError ERROR_CONNECTION_ERROR
Failed to reach server.
-
CONFLICT_NOT_FOUND
public static final SyncError CONFLICT_NOT_FOUND
Conflicts not found.
-
CONFLICT_RESOLUTION_NEEDED
public static final SyncError CONFLICT_RESOLUTION_NEEDED
Conflicts resolution is needed.
-
ERROR_CONFLICTS
public static final SyncError ERROR_CONFLICTS
Conflicts found.
-
ERROR_SYNC_ERROR
public static final SyncError ERROR_SYNC_ERROR
Sync failed.
-
ERROR_SYNC_IN_PROGRESS
public static final SyncError ERROR_SYNC_IN_PROGRESS
Sync is in progress.
-
-
Method Detail
-
values
public static SyncError[] 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 (SyncError c : SyncError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SyncError 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
-
-