Class GenericExceptionMapper

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

    @Provider
    public class GenericExceptionMapper
    extends Object
    implements javax.ws.rs.ext.ExceptionMapper<Throwable>
    • Constructor Detail

      • GenericExceptionMapper

        public GenericExceptionMapper()
    • Method Detail

      • toResponse

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