Class WebApplicationExceptionMapper

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

    @Provider
    public class WebApplicationExceptionMapper
    extends Object
    implements javax.ws.rs.ext.ExceptionMapper<javax.ws.rs.WebApplicationException>
    Jersey ExceptionMapper used to handle internal WebApplicationExceptions thrown by the Jersey framework.
    • Constructor Detail

      • WebApplicationExceptionMapper

        public WebApplicationExceptionMapper()
    • Method Detail

      • toResponse

        public javax.ws.rs.core.Response toResponse​(javax.ws.rs.WebApplicationException ex)
        Specified by:
        toResponse in interface javax.ws.rs.ext.ExceptionMapper<javax.ws.rs.WebApplicationException>