Class ConstraintViolationExceptionMapper

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

    @Provider
    @Priority(4999)
    public class ConstraintViolationExceptionMapper
    extends java.lang.Object
    implements javax.ws.rs.ext.ExceptionMapper<javax.validation.ConstraintViolationException>
    Default portal exception mapper for ConstraintViolationException.
    Since:
    8.0.0
    Version:
    $Revision$ $Date$
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response toResponse​(javax.validation.ConstraintViolationException exception)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConstraintViolationExceptionMapper

        public ConstraintViolationExceptionMapper()
    • Method Detail

      • toResponse

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