net.infonode.properties.base.exception
Class PropertyException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bynet.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

Constructor Summary
PropertyException(Property property, String text)
          Constructor.
 
Method Summary
 Property getProperty()
          Returns the property that triggered this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyException

public PropertyException(Property property,
                         String text)
Constructor.

Parameters:
property - the property that triggered this exception
text - the exception text
Method Detail

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.