Class WebApplicationExceptionMapper

java.lang.Object
ch.tocco.nice2.rest.core.spi.error.WebApplicationExceptionMapper
All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<jakarta.ws.rs.WebApplicationException>

@Component public class WebApplicationExceptionMapper extends Object implements jakarta.ws.rs.ext.ExceptionMapper<jakarta.ws.rs.WebApplicationException>
  • Constructor Details

    • WebApplicationExceptionMapper

      public WebApplicationExceptionMapper()
  • Method Details

    • toResponse

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