Class InformationExceptionMapper

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

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

    • InformationExceptionMapper

      public InformationExceptionMapper(TextResources textResources, org.slf4j.Logger logger)
  • Method Details

    • toResponse

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