Package com.iizix.prop
Class PropTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.iizix.prop.PropException
com.iizix.prop.PropTypeException
- All Implemented Interfaces:
Serializable
Exception thrown when a property is set and doesn't validate correctly with the value Object type.
- Author:
- Christopher Mindus
- See Also:
Constructor Summary
ConstructorDescriptionPropTypeException
(GProp<?> property, String message) Creates a property exception with a message.PropTypeException
(GProp<?> property, String message, Throwable exception) Creates a property exception with a message and an exception cause.Method Summary
Methods inherited from class com.iizix.prop.PropException
getProperty, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
Constructor Details
PropTypeException
Creates a property exception with a message.- Parameters:
message
- the detail message.
PropTypeException
Creates a property exception with a message and an exception cause.- Parameters:
property
- the originator property.message
- the detail message.exception
- the exception, i.e. the real cause.- Throws:
NullPointerException
- ifproperty
parameter is null.