@Provider public class ServerErrorMapper extends AbstractMapper<java.lang.RuntimeException>
error
Constructor and Description |
---|
ServerErrorMapper() |
Modifier and Type | Method and Description |
---|---|
protected javax.ws.rs.core.Response.Status |
responseStatus()
Returns the response status to be given when the exception occurs.
|
messageFrom, response, toResponse
protected javax.ws.rs.core.Response.Status responseStatus()
AbstractMapper
responseStatus
in class AbstractMapper<java.lang.RuntimeException>