Class ThrowableExceptionMapper

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

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

      • ThrowableExceptionMapper

        public ThrowableExceptionMapper​(javax.ws.rs.ext.ExceptionMapper... mappers)
      • ThrowableExceptionMapper

        public ThrowableExceptionMapper​(boolean logUnclassifiedErrors,
                                        javax.ws.rs.ext.ExceptionMapper... mappers)
    • Method Detail

      • toResponse

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