net.infonode.properties.base.exception
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.
- Version:
- $Revision: 1.3 $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
PropertyException
public PropertyException(Property property,
String text)
- Constructor.
- Parameters:
property
- the property that triggered this exceptiontext
- the exception text
getProperty
public Property getProperty()
- Returns the property that triggered this exception.
- Returns:
- the property that triggered this exception
Copyright © 2007 NNL Technology AB. All Rights Reserved.