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:
java.io.Serializable
public class PropTypeException extends PropException
Exception thrown when a property is set and doesn't validate correctly with the value Object type.- Author:
- Christopher Mindus
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description PropTypeException(GProp<?> property, java.lang.String message)Creates a property exception with a message.PropTypeException(GProp<?> property, java.lang.String message, java.lang.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
Constructor Detail
PropTypeException
public PropTypeException(GProp<?> property, java.lang.String message)
Creates a property exception with a message.- Parameters:
message- the detail message.
PropTypeException
public PropTypeException(GProp<?> property, java.lang.String message, java.lang.Throwable exception)
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:
java.lang.NullPointerException- ifpropertyparameter is null.