Class ThrowableExceptionMapper

java.lang.Object
org.smallmind.web.jersey.json.ThrowableExceptionMapper
All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<Throwable>

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

    • ThrowableExceptionMapper

      public ThrowableExceptionMapper(jakarta.ws.rs.ext.ExceptionMapper... mappers)
    • ThrowableExceptionMapper

      public ThrowableExceptionMapper(boolean logUnclassifiedErrors, jakarta.ws.rs.ext.ExceptionMapper... mappers)
  • Method Details

    • toResponse

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