Class DefaultExceptionMapper

java.lang.Object
org.ow2.authzforce.jaxrs.util.DefaultExceptionMapper
All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<Throwable>

@Provider public class DefaultExceptionMapper extends Object implements jakarta.ws.rs.ext.ExceptionMapper<Throwable>
Default JAX-RS ExceptionMapper for all exceptions not supported by other ExceptionMapper
  • Constructor Details

    • DefaultExceptionMapper

      public DefaultExceptionMapper()
  • Method Details

    • toResponse

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