Class WebApplicationExceptionMapper

java.lang.Object
io.goobi.viewer.api.rest.exceptions.WebApplicationExceptionMapper
All Implemented Interfaces:
ExceptionMapper<WebApplicationException>

@Provider public class WebApplicationExceptionMapper extends Object implements ExceptionMapper<WebApplicationException>
JAX-RS exception mapper that catches general exceptions encountered during REST API calls and creates a JSON-formatted error response.
Author:
Florian Alpers