Interface LauncherExitCodes

All Known Subinterfaces:
SliderExitCodes
All Known Implementing Classes:
BadClusterStateException, BadCommandArgumentsException, BadConfigException, ServiceClient, ServiceLaunchException, SliderException, UsageException

public interface LauncherExitCodes
  • Field Details

    • EXIT_SUCCESS

      static final int EXIT_SUCCESS
      0: 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_SHUTDOWN
      Exit code when a client requested service termination: 1
      See Also:
    • EXIT_TASK_LAUNCH_FAILURE

      static final int EXIT_TASK_LAUNCH_FAILURE
      Exit code when targets could not be launched: 2
      See Also:
    • EXIT_INTERRUPTED

      static final int EXIT_INTERRUPTED
      Exit code when a control-C, kill -3, signal was picked up: 3
      See Also:
    • EXIT_USAGE

      static final int EXIT_USAGE
      Exit code when a usage message was printed: 4
      See Also:
    • EXIT_OTHER_FAILURE

      static final int EXIT_OTHER_FAILURE
      Exit code when something happened but we can't be specific: 5
      See Also:
    • EXIT_MOVED

      static final int EXIT_MOVED
      Exit code on connectivity problems: 31
      See Also:
    • EXIT_FOUND

      static final int EXIT_FOUND
      found: 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_MODIFIED
      Exit 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" : 34

      304 Not Modified

      See Also:
    • EXIT_COMMAND_ARGUMENT_ERROR

      static final int EXIT_COMMAND_ARGUMENT_ERROR
      Exit 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_UNAUTHORIZED
      The request requires user authentication: 41

      401 Unauthorized

      See Also:
    • EXIT_FORBIDDEN

      static final int EXIT_FORBIDDEN
      Forbidden action: 43

      403: Forbidden

      See Also:
    • EXIT_NOT_FOUND

      static final int EXIT_NOT_FOUND
      Something was not found: 44

      404: NOT FOUND

      See Also:
    • EXIT_OPERATION_NOT_ALLOWED

      static final int EXIT_OPERATION_NOT_ALLOWED
      The operation is not allowed: 45

      405: NOT ALLOWED

      See Also:
    • EXIT_NOT_ACCEPTABLE

      static final int EXIT_NOT_ACCEPTABLE
      The command is somehow not acceptable: 46

      406: NOT ACCEPTABLE

      See Also:
    • EXIT_CONNECTIVITY_PROBLEM

      static final int EXIT_CONNECTIVITY_PROBLEM
      Exit code on connectivity problems: 48

      408: Request Timeout

      See Also:
    • EXIT_CONFLICT

      static final int EXIT_CONFLICT
      The request could not be completed due to a conflict with the current state of the resource. 49

      409: conflict

      See Also:
    • EXIT_INTERNAL_ERROR

      static final int EXIT_INTERNAL_ERROR
      internal error: 50

      500 Internal Server Error

      See Also:
    • EXIT_UNIMPLEMENTED

      static final int EXIT_UNIMPLEMENTED
      Unimplemented feature: 51

      501: Not Implemented

      See Also:
    • EXIT_SERVICE_UNAVAILABLE

      static final int EXIT_SERVICE_UNAVAILABLE
      Service Unavailable; it may be available later: 53

      503 Service Unavailable

      See Also:
    • EXIT_UNSUPPORTED_VERSION

      static final int EXIT_UNSUPPORTED_VERSION
      The 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_THROWN
      Exit code when an exception was thrown from the service: 56

      5XX

      See Also: