Class GenericExceptionMapper

java.lang.Object
fr.gouv.vitam.common.server.application.GenericExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<Throwable>

public class GenericExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<Throwable>
Generic Exception Mapper for Jetty Server
  • Constructor Details

    • GenericExceptionMapper

      public GenericExceptionMapper()
  • Method Details

    • toResponse

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