Package | Description |
---|---|
org.resthub.web.exception |
HTTP related exceptions with Spring MVC mapping to HTTP status code
|
Modifier and Type | Class and Description |
---|---|
class |
BadRequestClientException
Exception mapped to Bad Request HTTP status code (400)
|
class |
ConflictClientException
Exception mapped to Conflict HTTP status code (409)
|
class |
ForbiddenClientException
Exception mapped to forbidden Request HTTP status code (403)
|
class |
InternalServerErrorClientException
Exception mapped to Internal Server Error HTTP status code (500)
|
class |
NotAcceptableClientException
Exception mapped to not acceptable Error HTTP status code (406)
|
class |
NotFoundClientException
Exception mapped to not found Error HTTP status code (404)
|
class |
NotImplementedClientException
Exception mapped to not implemented Error HTTP status code (501)
|
class |
UnauthorizedClientException
Exception mapped to unauthorized Request HTTP status code (401)
|
Modifier and Type | Method and Description |
---|---|
static ClientException |
ClientExceptionFactory.createHttpExceptionFromStatusCode(int statusCode) |
static ClientException |
ClientExceptionFactory.createHttpExceptionFromStatusCode(int statusCode,
String message) |
Copyright © 2009–2014. All rights reserved.