Class InvalidPropertyTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.infonode.properties.base.exception.PropertyException
net.infonode.properties.base.exception.InvalidPropertyTypeException
- All Implemented Interfaces:
Serializable
Thrown when a property type is incompatible with another property type.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidPropertyTypeException
(Property property, Property invalidProperty, String text) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns 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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidPropertyTypeException
Constructor.- Parameters:
property
- the propertyinvalidProperty
- the property which type is incompatible with the property typetext
- the exception text
-
-
Method Details
-
getInvalidProperty
Returns the property which type is incompatible with the property type.- Returns:
- the property which type is incompatible with the property type
-