net.infonode.properties.base.exception
Class InvalidPropertyTypeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bynet.infonode.properties.base.exception.PropertyException
                  extended bynet.infonode.properties.base.exception.InvalidPropertyTypeException
All Implemented Interfaces:
Serializable

public class InvalidPropertyTypeException
extends PropertyException

Thrown when a property type is incompatible with another property type.

Version:
$Revision: 1.4 $
See Also:
Serialized Form

Constructor Summary
InvalidPropertyTypeException(Property property, Property invalidProperty, String text)
          Constructor.
 
Method Summary
 Property getInvalidProperty()
          Returns the property which type is incompatible with the property type.
 
Methods inherited from class net.infonode.properties.base.exception.PropertyException
getProperty
 
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

InvalidPropertyTypeException

public InvalidPropertyTypeException(Property property,
                                    Property invalidProperty,
                                    String text)
Constructor.

Parameters:
property - the property
invalidProperty - the property which type is incompatible with the property type
text - the exception text
Method Detail

getInvalidProperty

public Property getInvalidProperty()
Returns the property which type is incompatible with the property type.

Returns:
the property which type is incompatible with the property type


Copyright © 2007 NNL Technology AB. All Rights Reserved.