Class ValidationExceptionMapper

java.lang.Object
ch.tocco.nice2.rest.entity.impl.error.ValidationExceptionMapper
All Implemented Interfaces:
jakarta.ws.rs.ext.ExceptionMapper<ValidationException>

@Component public class ValidationExceptionMapper extends Object implements jakarta.ws.rs.ext.ExceptionMapper<ValidationException>
This exception mapper is registered on the ValidationException. The exception is mapped onto a 400 BAD REQUEST response.
  • Constructor Details

  • Method Details