Class ResteasyExceptionMapper

  • All Implemented Interfaces:
    javax.ws.rs.ext.ExceptionMapper<org.jboss.resteasy.api.validation.ResteasyViolationException>

    @Provider
    public class ResteasyExceptionMapper
    extends BaseExceptionMapper<org.jboss.resteasy.api.validation.ResteasyViolationException>
    "Special" implementation for exceptions that extend ValidationException, as those do not "go through" NessieExceptionMapper and there need to be two ExceptionMapper beans for the Nessie-server.
    • Constructor Detail

      • ResteasyExceptionMapper

        public ResteasyExceptionMapper()
      • ResteasyExceptionMapper

        @Inject
        public ResteasyExceptionMapper​(ServerConfig config)
    • Method Detail

      • toResponse

        public javax.ws.rs.core.Response toResponse​(org.jboss.resteasy.api.validation.ResteasyViolationException exception)