Class PropertyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.infonode.properties.base.exception.PropertyException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CantRemoveValueException
,ImmutablePropertyException
,InvalidPropertyException
,InvalidPropertyTypeException
,InvalidPropertyValueException
public class PropertyException extends java.lang.RuntimeException
Base class for all property exceptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PropertyException(Property property, java.lang.String text)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Property
getProperty()
Returns the property that triggered this exception.
-
-
-
Constructor Detail
-
PropertyException
public PropertyException(Property property, java.lang.String text)
Constructor.- Parameters:
property
- the property that triggered this exceptiontext
- the exception text
-
-
Method Detail
-
getProperty
public Property getProperty()
Returns the property that triggered this exception.- Returns:
- the property that triggered this exception
-
-