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
Base class for all property exceptions.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the property that triggered this exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PropertyException
Constructor.- Parameters:
property
- the property that triggered this exceptiontext
- the exception text
-
-
Method Details
-
getProperty
Returns the property that triggered this exception.- Returns:
- the property that triggered this exception
-