net.infonode.properties.base.exception
Class InvalidPropertyTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.infonode.properties.base.exception.PropertyException
                  extended by net.infonode.properties.base.exception.InvalidPropertyTypeException
All Implemented Interfaces:
java.io.Serializable

public class InvalidPropertyTypeException
extends PropertyException

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

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

Field Summary
private  Property invalidProperty
           
 
Constructor Summary
InvalidPropertyTypeException(Property property, Property invalidProperty, java.lang.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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

invalidProperty

private Property invalidProperty
Constructor Detail

InvalidPropertyTypeException

public InvalidPropertyTypeException(Property property,
                                    Property invalidProperty,
                                    java.lang.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