Class InformationExceptionMapper

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

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

    • InformationExceptionMapper

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

    • toResponse

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