Class ResteasyExceptionMapper

  • All Implemented Interfaces:
    javax.ws.rs.ext.ExceptionMapper<javax.validation.ValidationException>

    @Alternative
    @Provider
    public class ResteasyExceptionMapper
    extends Object
    implements javax.ws.rs.ext.ExceptionMapper<javax.validation.ValidationException>
    "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()
    • Method Detail

      • toResponse

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