@Provider public class ResponseBuildExceptionMapper extends AbstractExceptionMapper<ResponseBuildException>
| Constructor and Description |
|---|
ResponseBuildExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorMessage(ResponseBuildException exception)
Get the message of the exception in mapper.
|
int |
getStatusCode() |
getCurrentUserLocale, getLocalizedMessage, handle, toResponsepublic String getErrorMessage(ResponseBuildException exception)
getErrorMessage in class AbstractExceptionMapper<ResponseBuildException>exception - thrownpublic int getStatusCode()
getStatusCode in class AbstractExceptionMapper<ResponseBuildException>Response.Status.INTERNAL_SERVER_ERRORCopyright © 2019 Communote team. All rights reserved.