Class ValidationException

    • Constructor Detail

      • ValidationException

        public ValidationException​(Attribute<?> attribute,
                                   Object value,
                                   String message)
        Instantiates a new ValidationException.
        Parameters:
        attribute - the attribute of the value being validated
        value - the value
        message - the exception message
    • Method Detail

      • attribute

        public final Attribute<?> attribute()
        Returns:
        the value attribute
      • value

        public final Object value()
        Returns:
        the invalid value