Interface LauncherExitCodes
- All Known Subinterfaces:
SliderExitCodes
- All Known Implementing Classes:
BadClusterStateException,BadCommandArgumentsException,BadConfigException,ServiceClient,ServiceLaunchException,SliderException,UsageException
public interface LauncherExitCodes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intExit code when a client requested service termination: 1static final intExit code when the command line doesn't parse: 40, or when it is otherwise invalid.static final intThe request could not be completed due to a conflict with the current state of the resource.static final intExit code on connectivity problems: 48static final intExit code when an exception was thrown from the service: 56static final int-1: generic "false" response.static final intForbidden action: 43static final intfound: 32.static final intinternal error: 50static final intExit code when a control-C, kill -3, signal was picked up: 3static final intExit code on connectivity problems: 31static final intThe command is somehow not acceptable: 46static final intSomething was not found: 44static final intExit code on a request where the destination has not changed and (somehow) the command specified that this is an error.static final intThe operation is not allowed: 45static final intExit code when something happened but we can't be specific: 5static final intService Unavailable; it may be available later: 53static final int0: successstatic final intExit code when targets could not be launched: 2static final intThe request requires user authentication: 41static final intUnimplemented feature: 51static final intThe service does not support, or refuses to support this version: 55.static final intExit code when a usage message was printed: 4
-
Field Details
-
EXIT_SUCCESS
static final int EXIT_SUCCESS0: success- See Also:
-
EXIT_FALSE
static final int EXIT_FALSE-1: generic "false" response. The operation worked but the result was not true- See Also:
-
EXIT_CLIENT_INITIATED_SHUTDOWN
static final int EXIT_CLIENT_INITIATED_SHUTDOWNExit code when a client requested service termination: 1- See Also:
-
EXIT_TASK_LAUNCH_FAILURE
static final int EXIT_TASK_LAUNCH_FAILUREExit code when targets could not be launched: 2- See Also:
-
EXIT_INTERRUPTED
static final int EXIT_INTERRUPTEDExit code when a control-C, kill -3, signal was picked up: 3- See Also:
-
EXIT_USAGE
static final int EXIT_USAGEExit code when a usage message was printed: 4- See Also:
-
EXIT_OTHER_FAILURE
static final int EXIT_OTHER_FAILUREExit code when something happened but we can't be specific: 5- See Also:
-
EXIT_MOVED
static final int EXIT_MOVEDExit code on connectivity problems: 31- See Also:
-
EXIT_FOUND
static final int EXIT_FOUNDfound: 32.This is low value as in HTTP it is normally a success/redirect; whereas on the command line 0 is the sole success code.
302 Found- See Also:
-
EXIT_NOT_MODIFIED
static final int EXIT_NOT_MODIFIEDExit code on a request where the destination has not changed and (somehow) the command specified that this is an error. That is, this exit code is somehow different from a "success" : 34304 Not Modified- See Also:
-
EXIT_COMMAND_ARGUMENT_ERROR
static final int EXIT_COMMAND_ARGUMENT_ERRORExit code when the command line doesn't parse: 40, or when it is otherwise invalid.400 BAD REQUEST- See Also:
-
EXIT_UNAUTHORIZED
static final int EXIT_UNAUTHORIZEDThe request requires user authentication: 41401 Unauthorized- See Also:
-
EXIT_FORBIDDEN
static final int EXIT_FORBIDDENForbidden action: 43403: Forbidden- See Also:
-
EXIT_NOT_FOUND
static final int EXIT_NOT_FOUNDSomething was not found: 44404: NOT FOUND- See Also:
-
EXIT_OPERATION_NOT_ALLOWED
static final int EXIT_OPERATION_NOT_ALLOWEDThe operation is not allowed: 45405: NOT ALLOWED- See Also:
-
EXIT_NOT_ACCEPTABLE
static final int EXIT_NOT_ACCEPTABLEThe command is somehow not acceptable: 46406: NOT ACCEPTABLE- See Also:
-
EXIT_CONNECTIVITY_PROBLEM
static final int EXIT_CONNECTIVITY_PROBLEMExit code on connectivity problems: 48408: Request Timeout- See Also:
-
EXIT_CONFLICT
static final int EXIT_CONFLICTThe request could not be completed due to a conflict with the current state of the resource. 49409: conflict- See Also:
-
EXIT_INTERNAL_ERROR
static final int EXIT_INTERNAL_ERRORinternal error: 50500 Internal Server Error- See Also:
-
EXIT_UNIMPLEMENTED
static final int EXIT_UNIMPLEMENTEDUnimplemented feature: 51501: Not Implemented- See Also:
-
EXIT_SERVICE_UNAVAILABLE
static final int EXIT_SERVICE_UNAVAILABLEService Unavailable; it may be available later: 53503 Service Unavailable- See Also:
-
EXIT_UNSUPPORTED_VERSION
static final int EXIT_UNSUPPORTED_VERSIONThe service does not support, or refuses to support this version: 55. If raised, this is expected to be raised server-side and likely due to client/server version incompatibilities.505: Version Not Supported- See Also:
-
EXIT_EXCEPTION_THROWN
static final int EXIT_EXCEPTION_THROWNExit code when an exception was thrown from the service: 565XX- See Also:
-