net.infonode.properties.base.exception

Class InvalidPropertyTypeException

public class InvalidPropertyTypeException extends PropertyException

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

Version: $Revision: 1.4 $

Author: $Author: jesper $

Constructor Summary
InvalidPropertyTypeException(Property property, Property invalidProperty, String text)
Constructor.
Method Summary
PropertygetInvalidProperty()
Returns the property which type is incompatible with the property type.

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