Class WebApplicationExceptionMapper

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

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

    • WebApplicationExceptionMapper

      public WebApplicationExceptionMapper()
  • Method Details

    • toResponse

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