| Package | Description |
|---|---|
| io.aalam.common |
| Modifier and Type | Method and Description |
|---|---|
static HttpException |
HttpException.conflict(String message)
Returns an Exception object that returns response with status
"409 Conflict" and a custom message
|
static HttpException |
HttpException.forbidden(String message)
Returns an Exception object that returns response with status
"403 Forbidden" and a custom message
|
static HttpException |
HttpException.internalServerError(String message)
Returns an Exception object that returns response with status
"500 Internal Server Error" and a custom message
|
static HttpException |
HttpException.notFound(String message)
Raise to return response with status "404 Not Found" and a custom message
|
static HttpException |
HttpException.unAuthorized(String message)
Returns an Exception object that returns response with status
"404 Not Found" and a custom message
|
Copyright © 2017. All rights reserved.