Class JaxrsExceptionMapper

  • All Implemented Interfaces:
    javax.ws.rs.ext.ExceptionMapper<JaxrsException>

    @Provider
    public class JaxrsExceptionMapper
    extends Object
    implements javax.ws.rs.ext.ExceptionMapper<JaxrsException>
    Map a JaxrsException to a Response.

    The mapped response has the status of the given JaxrsException and media type JSON.