Class UnhandledExceptionMapper

java.lang.Object
io.extact.rms.platform.jaxrs.mapper.UnhandledExceptionMapper
All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<Exception>

@Produces("application/json") public class UnhandledExceptionMapper extends Object implements jakarta.ws.rs.ext.ExceptionMapper<Exception>
Handle unhandled exceptions.
  • Constructor Details

    • UnhandledExceptionMapper

      public UnhandledExceptionMapper()
  • Method Details

    • toResponse

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