Class PKIExceptionMapper

java.lang.Object
org.dogtagpki.server.rest.v1.PKIExceptionMapper
All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<PKIException>

@Provider public class PKIExceptionMapper extends Object implements jakarta.ws.rs.ext.ExceptionMapper<PKIException>
  • Field Details

    • logger

      public static org.slf4j.Logger logger
  • Constructor Details

    • PKIExceptionMapper

      public PKIExceptionMapper()
  • Method Details

    • toResponse

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