Class AttributeValidationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
is.codion.framework.domain.entity.exception.AttributeValidationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidItemException, NullValueException

public class AttributeValidationException extends Exception
Indicates that an attribute value is invalid.
See Also:
  • Constructor Details

    • AttributeValidationException

      public AttributeValidationException(Attribute<?> attribute, @Nullable Object value, String message)
      Parameters:
      attribute - the attribute
      value - the value
      message - the message
  • Method Details

    • attribute

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

      public final @Nullable Object value()
      Returns:
      the value