Class PropertyException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.infonode.properties.base.exception.PropertyException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CantRemoveValueException, ImmutablePropertyException, InvalidPropertyException, InvalidPropertyTypeException, InvalidPropertyValueException

public class PropertyException extends RuntimeException
Base class for all property exceptions.
See Also:
  • Constructor Details

    • PropertyException

      public PropertyException(Property property, String text)
      Constructor.
      Parameters:
      property - the property that triggered this exception
      text - the exception text
  • Method Details

    • getProperty

      public Property getProperty()
      Returns the property that triggered this exception.
      Returns:
      the property that triggered this exception