public class ApiException extends FineRuntimeException
| Modifier | Constructor and Description |
|---|---|
protected |
ApiException(HttpStatusCode httpStatusCode) |
protected |
ApiException(HttpStatusCode httpStatusCode,
FineMessage richMessage) |
protected |
ApiException(HttpStatusCode httpStatusCode,
FineMessageSet messageSet) |
protected |
ApiException(HttpStatusCode httpStatusCode,
FineMessageSet messageSet,
java.lang.Throwable ex) |
protected |
ApiException(HttpStatusCode httpStatusCode,
FineMessage richMessage,
java.lang.Throwable ex) |
protected |
ApiException(HttpStatusCode httpStatusCode,
java.lang.String message,
java.lang.String... traits) |
protected |
ApiException(HttpStatusCode httpStatusCode,
java.lang.String message,
java.lang.Throwable ex,
java.lang.String... traits) |
protected |
ApiException(HttpStatusCode httpStatusCode,
java.lang.Throwable ex,
java.lang.String... traits) |
| Modifier and Type | Method and Description |
|---|---|
static ApiBadRequestException |
badRequest() |
static ApiBadRequestException |
badRequest(FineMessage richMessage) |
static ApiBadRequestException |
badRequest(FineMessageSet messageSet) |
static ApiBadRequestException |
badRequest(FineMessageSet messageSet,
java.lang.Throwable ex) |
static ApiBadRequestException |
badRequest(FineMessage richMessage,
java.lang.Throwable ex) |
static ApiBadRequestException |
badRequest(java.lang.String message,
java.lang.String... traits) |
static ApiBadRequestException |
badRequest(java.lang.String message,
java.lang.Throwable ex,
java.lang.String... traits) |
static ApiBadRequestException |
badRequest(java.lang.Throwable ex,
java.lang.String... traits) |
static ApiConflictException |
conflict() |
static ApiConflictException |
conflict(FineMessage richMessage) |
static ApiConflictException |
conflict(FineMessageSet messageSet) |
static ApiConflictException |
conflict(FineMessageSet messageSet,
java.lang.Throwable ex) |
static ApiConflictException |
conflict(FineMessage richMessage,
java.lang.Throwable ex) |
static ApiConflictException |
conflict(java.lang.String message,
java.lang.String... traits) |
static ApiConflictException |
conflict(java.lang.String message,
java.lang.Throwable ex,
java.lang.String... traits) |
static ApiConflictException |
conflict(java.lang.Throwable ex,
java.lang.String... traits) |
static ApiForbiddenException |
forbidden() |
static ApiForbiddenException |
forbidden(FineMessage richMessage) |
static ApiForbiddenException |
forbidden(FineMessageSet messageSet) |
static ApiForbiddenException |
forbidden(FineMessageSet messageSet,
java.lang.Throwable ex) |
static ApiForbiddenException |
forbidden(FineMessage richMessage,
java.lang.Throwable ex) |
static ApiForbiddenException |
forbidden(java.lang.String message,
java.lang.String... traits) |
static ApiForbiddenException |
forbidden(java.lang.String message,
java.lang.Throwable ex,
java.lang.String... traits) |
static ApiForbiddenException |
forbidden(java.lang.Throwable ex,
java.lang.String... traits) |
static ApiException |
fromCode(HttpStatusCode httpStatusCode) |
static ApiException |
fromCode(HttpStatusCode httpStatusCode,
FineMessage richMessage) |
static ApiException |
fromCode(HttpStatusCode httpStatusCode,
FineMessageSet messageSet) |
static ApiException |
fromCode(HttpStatusCode httpStatusCode,
FineMessageSet messageSet,
java.lang.Throwable ex) |
static ApiException |
fromCode(HttpStatusCode httpStatusCode,
FineMessage richMessage,
java.lang.Throwable ex) |
static ApiException |
fromCode(HttpStatusCode httpStatusCode,
java.lang.String message,
java.lang.String... traits) |
static ApiException |
fromCode(HttpStatusCode httpStatusCode,
java.lang.String message,
java.lang.Throwable ex,
java.lang.String... traits) |
static ApiException |
fromCode(HttpStatusCode httpStatusCode,
java.lang.Throwable ex,
java.lang.String... traits) |
static ApiException |
fromCode(int code) |
static ApiException |
fromCode(int code,
FineMessage richMessage) |
static ApiException |
fromCode(int code,
FineMessageSet messageSet) |
static ApiException |
fromCode(int code,
FineMessageSet messageSet,
java.lang.Throwable ex) |
static ApiException |
fromCode(int code,
FineMessage richMessage,
java.lang.Throwable ex) |
static ApiException |
fromCode(int code,
java.lang.String message,
java.lang.String... traits) |
static ApiException |
fromCode(int code,
java.lang.String message,
java.lang.Throwable ex,
java.lang.String... traits) |
static ApiException |
fromCode(int code,
java.lang.Throwable ex,
java.lang.String... traits) |
HttpStatusCode |
getHttpStatusCode() |
int |
getStatusCode() |
static ApiImATeapotException |
imATeapot() |
static ApiImATeapotException |
imATeapot(FineMessage richMessage) |
static ApiImATeapotException |
imATeapot(FineMessageSet messageSet) |
static ApiImATeapotException |
imATeapot(FineMessageSet messageSet,
java.lang.Throwable ex) |
static ApiImATeapotException |
imATeapot(FineMessage richMessage,
java.lang.Throwable ex) |
static ApiImATeapotException |
imATeapot(java.lang.String message,
java.lang.String... traits) |
static ApiImATeapotException |
imATeapot(java.lang.String message,
java.lang.Throwable ex,
java.lang.String... traits) |
static ApiImATeapotException |
imATeapot(java.lang.Throwable ex,
java.lang.String... traits) |
static ApiInternalServerErrorException |
internalServerError() |
static ApiInternalServerErrorException |
internalServerError(FineMessage richMessage) |
static ApiInternalServerErrorException |
internalServerError(FineMessageSet messageSet) |
static ApiInternalServerErrorException |
internalServerError(FineMessageSet messageSet,
java.lang.Throwable ex) |
static ApiInternalServerErrorException |
internalServerError(FineMessage richMessage,
java.lang.Throwable ex) |
static ApiInternalServerErrorException |
internalServerError(java.lang.String message,
java.lang.String... traits) |
static ApiInternalServerErrorException |
internalServerError(java.lang.String message,
java.lang.Throwable ex,
java.lang.String... traits) |
static ApiInternalServerErrorException |
internalServerError(java.lang.Throwable ex,
java.lang.String... traits) |
static ApiNotFoundException |
notFound() |
static ApiNotFoundException |
notFound(FineMessage richMessage) |
static ApiNotFoundException |
notFound(FineMessageSet messageSet) |
static ApiNotFoundException |
notFound(FineMessageSet messageSet,
java.lang.Throwable ex) |
static ApiNotFoundException |
notFound(FineMessage richMessage,
java.lang.Throwable ex) |
static ApiNotFoundException |
notFound(java.lang.String message,
java.lang.String... traits) |
static ApiNotFoundException |
notFound(java.lang.String message,
java.lang.Throwable ex,
java.lang.String... traits) |
static ApiNotFoundException |
notFound(java.lang.Throwable ex,
java.lang.String... traits) |
static ApiNotImplementedException |
notImplemented() |
static ApiNotImplementedException |
notImplemented(FineMessage richMessage) |
static ApiNotImplementedException |
notImplemented(FineMessageSet messageSet) |
static ApiNotImplementedException |
notImplemented(FineMessageSet messageSet,
java.lang.Throwable ex) |
static ApiNotImplementedException |
notImplemented(FineMessage richMessage,
java.lang.Throwable ex) |
static ApiNotImplementedException |
notImplemented(java.lang.String message,
java.lang.String... traits) |
static ApiNotImplementedException |
notImplemented(java.lang.String message,
java.lang.Throwable ex,
java.lang.String... traits) |
static ApiNotImplementedException |
notImplemented(java.lang.Throwable ex,
java.lang.String... traits) |
static ApiPreconditionFailedException |
preconditionFailed() |
static ApiPreconditionFailedException |
preconditionFailed(FineMessage richMessage) |
static ApiPreconditionFailedException |
preconditionFailed(FineMessageSet messageSet) |
static ApiPreconditionFailedException |
preconditionFailed(FineMessageSet messageSet,
java.lang.Throwable ex) |
static ApiPreconditionFailedException |
preconditionFailed(FineMessage richMessage,
java.lang.Throwable ex) |
static ApiPreconditionFailedException |
preconditionFailed(java.lang.String message,
java.lang.String... traits) |
static ApiPreconditionFailedException |
preconditionFailed(java.lang.String message,
java.lang.Throwable ex,
java.lang.String... traits) |
static ApiPreconditionFailedException |
preconditionFailed(java.lang.Throwable ex,
java.lang.String... traits) |
static ApiServiceUnavailableException |
serviceUnavailable() |
static ApiServiceUnavailableException |
serviceUnavailable(FineMessage richMessage) |
static ApiServiceUnavailableException |
serviceUnavailable(FineMessageSet messageSet) |
static ApiServiceUnavailableException |
serviceUnavailable(FineMessageSet messageSet,
java.lang.Throwable ex) |
static ApiServiceUnavailableException |
serviceUnavailable(FineMessage richMessage,
java.lang.Throwable ex) |
static ApiServiceUnavailableException |
serviceUnavailable(java.lang.String message,
java.lang.String... traits) |
static ApiServiceUnavailableException |
serviceUnavailable(java.lang.String message,
java.lang.Throwable ex,
java.lang.String... traits) |
static ApiServiceUnavailableException |
serviceUnavailable(java.lang.Throwable ex,
java.lang.String... traits) |
static ApiUnauthorizedException |
unauthorized() |
static ApiUnauthorizedException |
unauthorized(FineMessage richMessage) |
static ApiUnauthorizedException |
unauthorized(FineMessageSet messageSet) |
static ApiUnauthorizedException |
unauthorized(FineMessageSet messageSet,
java.lang.Throwable ex) |
static ApiUnauthorizedException |
unauthorized(FineMessage richMessage,
java.lang.Throwable ex) |
static ApiUnauthorizedException |
unauthorized(java.lang.String message,
java.lang.String... traits) |
static ApiUnauthorizedException |
unauthorized(java.lang.String message,
java.lang.Throwable ex,
java.lang.String... traits) |
static ApiUnauthorizedException |
unauthorized(java.lang.Throwable ex,
java.lang.String... traits) |
equals, getMessageSet, getSummary, hashCode, toStringprotected ApiException(HttpStatusCode httpStatusCode)
protected ApiException(HttpStatusCode httpStatusCode, java.lang.String message, java.lang.String... traits)
protected ApiException(HttpStatusCode httpStatusCode, java.lang.Throwable ex, java.lang.String... traits)
protected ApiException(HttpStatusCode httpStatusCode, java.lang.String message, java.lang.Throwable ex, java.lang.String... traits)
protected ApiException(HttpStatusCode httpStatusCode, FineMessage richMessage)
protected ApiException(HttpStatusCode httpStatusCode, FineMessage richMessage, java.lang.Throwable ex)
protected ApiException(HttpStatusCode httpStatusCode, FineMessageSet messageSet)
protected ApiException(HttpStatusCode httpStatusCode, FineMessageSet messageSet, java.lang.Throwable ex)
public int getStatusCode()
public HttpStatusCode getHttpStatusCode()
public static ApiBadRequestException badRequest()
public static ApiBadRequestException badRequest(java.lang.String message, java.lang.String... traits)
public static ApiBadRequestException badRequest(java.lang.Throwable ex, java.lang.String... traits)
public static ApiBadRequestException badRequest(java.lang.String message, java.lang.Throwable ex, java.lang.String... traits)
public static ApiBadRequestException badRequest(FineMessage richMessage)
public static ApiBadRequestException badRequest(FineMessage richMessage, java.lang.Throwable ex)
public static ApiBadRequestException badRequest(FineMessageSet messageSet)
public static ApiBadRequestException badRequest(FineMessageSet messageSet, java.lang.Throwable ex)
public static ApiUnauthorizedException unauthorized()
public static ApiUnauthorizedException unauthorized(java.lang.String message, java.lang.String... traits)
public static ApiUnauthorizedException unauthorized(java.lang.Throwable ex, java.lang.String... traits)
public static ApiUnauthorizedException unauthorized(java.lang.String message, java.lang.Throwable ex, java.lang.String... traits)
public static ApiUnauthorizedException unauthorized(FineMessage richMessage)
public static ApiUnauthorizedException unauthorized(FineMessage richMessage, java.lang.Throwable ex)
public static ApiUnauthorizedException unauthorized(FineMessageSet messageSet)
public static ApiUnauthorizedException unauthorized(FineMessageSet messageSet, java.lang.Throwable ex)
public static ApiForbiddenException forbidden()
public static ApiForbiddenException forbidden(java.lang.String message, java.lang.String... traits)
public static ApiForbiddenException forbidden(java.lang.Throwable ex, java.lang.String... traits)
public static ApiForbiddenException forbidden(java.lang.String message, java.lang.Throwable ex, java.lang.String... traits)
public static ApiForbiddenException forbidden(FineMessage richMessage)
public static ApiForbiddenException forbidden(FineMessage richMessage, java.lang.Throwable ex)
public static ApiForbiddenException forbidden(FineMessageSet messageSet)
public static ApiForbiddenException forbidden(FineMessageSet messageSet, java.lang.Throwable ex)
public static ApiNotFoundException notFound()
public static ApiNotFoundException notFound(java.lang.String message, java.lang.String... traits)
public static ApiNotFoundException notFound(java.lang.Throwable ex, java.lang.String... traits)
public static ApiNotFoundException notFound(java.lang.String message, java.lang.Throwable ex, java.lang.String... traits)
public static ApiNotFoundException notFound(FineMessage richMessage)
public static ApiNotFoundException notFound(FineMessage richMessage, java.lang.Throwable ex)
public static ApiNotFoundException notFound(FineMessageSet messageSet)
public static ApiNotFoundException notFound(FineMessageSet messageSet, java.lang.Throwable ex)
public static ApiConflictException conflict()
public static ApiConflictException conflict(java.lang.String message, java.lang.String... traits)
public static ApiConflictException conflict(java.lang.Throwable ex, java.lang.String... traits)
public static ApiConflictException conflict(java.lang.String message, java.lang.Throwable ex, java.lang.String... traits)
public static ApiConflictException conflict(FineMessage richMessage)
public static ApiConflictException conflict(FineMessage richMessage, java.lang.Throwable ex)
public static ApiConflictException conflict(FineMessageSet messageSet)
public static ApiConflictException conflict(FineMessageSet messageSet, java.lang.Throwable ex)
public static ApiPreconditionFailedException preconditionFailed()
public static ApiPreconditionFailedException preconditionFailed(java.lang.String message, java.lang.String... traits)
public static ApiPreconditionFailedException preconditionFailed(java.lang.Throwable ex, java.lang.String... traits)
public static ApiPreconditionFailedException preconditionFailed(java.lang.String message, java.lang.Throwable ex, java.lang.String... traits)
public static ApiPreconditionFailedException preconditionFailed(FineMessage richMessage)
public static ApiPreconditionFailedException preconditionFailed(FineMessage richMessage, java.lang.Throwable ex)
public static ApiPreconditionFailedException preconditionFailed(FineMessageSet messageSet)
public static ApiPreconditionFailedException preconditionFailed(FineMessageSet messageSet, java.lang.Throwable ex)
public static ApiImATeapotException imATeapot()
public static ApiImATeapotException imATeapot(java.lang.String message, java.lang.String... traits)
public static ApiImATeapotException imATeapot(java.lang.Throwable ex, java.lang.String... traits)
public static ApiImATeapotException imATeapot(java.lang.String message, java.lang.Throwable ex, java.lang.String... traits)
public static ApiImATeapotException imATeapot(FineMessage richMessage)
public static ApiImATeapotException imATeapot(FineMessage richMessage, java.lang.Throwable ex)
public static ApiImATeapotException imATeapot(FineMessageSet messageSet)
public static ApiImATeapotException imATeapot(FineMessageSet messageSet, java.lang.Throwable ex)
public static ApiInternalServerErrorException internalServerError()
public static ApiInternalServerErrorException internalServerError(java.lang.String message, java.lang.String... traits)
public static ApiInternalServerErrorException internalServerError(java.lang.Throwable ex, java.lang.String... traits)
public static ApiInternalServerErrorException internalServerError(java.lang.String message, java.lang.Throwable ex, java.lang.String... traits)
public static ApiInternalServerErrorException internalServerError(FineMessage richMessage)
public static ApiInternalServerErrorException internalServerError(FineMessage richMessage, java.lang.Throwable ex)
public static ApiInternalServerErrorException internalServerError(FineMessageSet messageSet)
public static ApiInternalServerErrorException internalServerError(FineMessageSet messageSet, java.lang.Throwable ex)
public static ApiNotImplementedException notImplemented()
public static ApiNotImplementedException notImplemented(java.lang.String message, java.lang.String... traits)
public static ApiNotImplementedException notImplemented(java.lang.Throwable ex, java.lang.String... traits)
public static ApiNotImplementedException notImplemented(java.lang.String message, java.lang.Throwable ex, java.lang.String... traits)
public static ApiNotImplementedException notImplemented(FineMessage richMessage)
public static ApiNotImplementedException notImplemented(FineMessage richMessage, java.lang.Throwable ex)
public static ApiNotImplementedException notImplemented(FineMessageSet messageSet)
public static ApiNotImplementedException notImplemented(FineMessageSet messageSet, java.lang.Throwable ex)
public static ApiServiceUnavailableException serviceUnavailable()
public static ApiServiceUnavailableException serviceUnavailable(java.lang.String message, java.lang.String... traits)
public static ApiServiceUnavailableException serviceUnavailable(java.lang.Throwable ex, java.lang.String... traits)
public static ApiServiceUnavailableException serviceUnavailable(java.lang.String message, java.lang.Throwable ex, java.lang.String... traits)
public static ApiServiceUnavailableException serviceUnavailable(FineMessage richMessage)
public static ApiServiceUnavailableException serviceUnavailable(FineMessage richMessage, java.lang.Throwable ex)
public static ApiServiceUnavailableException serviceUnavailable(FineMessageSet messageSet)
public static ApiServiceUnavailableException serviceUnavailable(FineMessageSet messageSet, java.lang.Throwable ex)
public static ApiException fromCode(int code)
public static ApiException fromCode(HttpStatusCode httpStatusCode)
public static ApiException fromCode(int code, java.lang.String message, java.lang.String... traits)
public static ApiException fromCode(HttpStatusCode httpStatusCode, java.lang.String message, java.lang.String... traits)
public static ApiException fromCode(int code, java.lang.Throwable ex, java.lang.String... traits)
public static ApiException fromCode(HttpStatusCode httpStatusCode, java.lang.Throwable ex, java.lang.String... traits)
public static ApiException fromCode(int code, java.lang.String message, java.lang.Throwable ex, java.lang.String... traits)
public static ApiException fromCode(HttpStatusCode httpStatusCode, java.lang.String message, java.lang.Throwable ex, java.lang.String... traits)
public static ApiException fromCode(int code, FineMessage richMessage)
public static ApiException fromCode(HttpStatusCode httpStatusCode, FineMessage richMessage)
public static ApiException fromCode(int code, FineMessage richMessage, java.lang.Throwable ex)
public static ApiException fromCode(HttpStatusCode httpStatusCode, FineMessage richMessage, java.lang.Throwable ex)
public static ApiException fromCode(int code, FineMessageSet messageSet)
public static ApiException fromCode(HttpStatusCode httpStatusCode, FineMessageSet messageSet)
public static ApiException fromCode(int code, FineMessageSet messageSet, java.lang.Throwable ex)
public static ApiException fromCode(HttpStatusCode httpStatusCode, FineMessageSet messageSet, java.lang.Throwable ex)