Class Exceptions.WebApplicationExceptionMapper
- java.lang.Object
-
- org.glassfish.jersey.examples.exception.Exceptions.WebApplicationExceptionMapper
-
- All Implemented Interfaces:
ExceptionMapper<WebApplicationException>
- Enclosing class:
- Exceptions
@Provider public static class Exceptions.WebApplicationExceptionMapper extends Object implements ExceptionMapper<WebApplicationException>
-
-
Constructor Summary
Constructors Constructor Description WebApplicationExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponsetoResponse(WebApplicationException exception)
-
-
-
Method Detail
-
toResponse
public Response toResponse(WebApplicationException exception)
- Specified by:
toResponsein interfaceExceptionMapper<WebApplicationException>
-
-