public interface LauncherExitCodes
| Modifier and Type | Field and Description |
|---|---|
static int |
EXIT_CLIENT_INITIATED_SHUTDOWN
Exit code when a client requested service termination: 1
|
static int |
EXIT_COMMAND_ARGUMENT_ERROR
Exit code when the command line doesn't parse: 40, or
when it is otherwise invalid.
|
static int |
EXIT_CONFLICT
The request could not be completed due to a conflict with the current
state of the resource.
|
static int |
EXIT_CONNECTIVITY_PROBLEM
Exit code on connectivity problems: 48
|
static int |
EXIT_EXCEPTION_THROWN
Exit code when an exception was thrown from the service: 56
|
static int |
EXIT_FALSE
-1: generic "false" response.
|
static int |
EXIT_FORBIDDEN
Forbidden action: 43
|
static int |
EXIT_FOUND
found: 32.
|
static int |
EXIT_INTERNAL_ERROR
internal error: 50
|
static int |
EXIT_INTERRUPTED
Exit code when a control-C, kill -3, signal was picked up: 3
|
static int |
EXIT_MOVED
Exit code on connectivity problems: 31
|
static int |
EXIT_NOT_ACCEPTABLE
The command is somehow not acceptable: 46
|
static int |
EXIT_NOT_FOUND
Something was not found: 44
|
static 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.
|
static int |
EXIT_OPERATION_NOT_ALLOWED
The operation is not allowed: 45
|
static int |
EXIT_OTHER_FAILURE
Exit code when something happened but we can't be specific: 5
|
static int |
EXIT_SERVICE_UNAVAILABLE
Service Unavailable; it may be available later: 53
|
static int |
EXIT_SUCCESS
0: success
|
static int |
EXIT_TASK_LAUNCH_FAILURE
Exit code when targets could not be launched: 2
|
static int |
EXIT_UNAUTHORIZE
The request requires user authentication: 41
|
static int |
EXIT_UNIMPLEMENTED
Unimplemented feature: 51
|
static int |
EXIT_UNSUPPORTED_VERSION
The application does not support, or refuses to support this version: 55.
|
static int |
EXIT_USAGE
Exit code when a usage message was printed: 4
|
static final int EXIT_SUCCESS
static final int EXIT_FALSE
static final int EXIT_CLIENT_INITIATED_SHUTDOWN
static final int EXIT_TASK_LAUNCH_FAILURE
static final int EXIT_INTERRUPTED
static final int EXIT_USAGE
static final int EXIT_OTHER_FAILURE
static final int EXIT_MOVED
static final int EXIT_FOUND
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
static final int EXIT_NOT_MODIFIED
304 Not Modified
static final int EXIT_COMMAND_ARGUMENT_ERROR
400 BAD REQUEST
static final int EXIT_UNAUTHORIZE
401 Unauthorized
static final int EXIT_FORBIDDEN
403: Forbidden
static final int EXIT_NOT_FOUND
404: NOT FOUND
static final int EXIT_OPERATION_NOT_ALLOWED
405: NOT ALLOWED
static final int EXIT_NOT_ACCEPTABLE
406: NOT ACCEPTABLE
static final int EXIT_CONNECTIVITY_PROBLEM
408: Request Timeout
static final int EXIT_CONFLICT
409: conflict
static final int EXIT_INTERNAL_ERROR
500 Internal Server Error
static final int EXIT_UNIMPLEMENTED
501: Not Implemented
static final int EXIT_SERVICE_UNAVAILABLE
503 Service Unavailable
static final int EXIT_UNSUPPORTED_VERSION
505: Version Not Supported
static final int EXIT_EXCEPTION_THROWN
5XX
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.