Package com.iizix.prop
Class ValueConversionException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- com.iizix.prop.PropException
- com.iizix.prop.ValueConversionException
- All Implemented Interfaces:
java.io.Serializable
public class ValueConversionException extends PropException
Exception thrown when aValue
in a VirtualSpace Field property runs into a conversion problem, e.g. when retrieving a Date value to a Binary value, or when no available Value processor is present.- Author:
- Christopher Mindus
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description ValueConversionException(GProp<?> property, java.lang.String message)
Creates a property exception with a message.ValueConversionException(GProp<?> property, java.lang.String message, java.lang.Throwable cause)
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
ValueConversionException
public ValueConversionException(GProp<?> property, java.lang.String message)
Creates a property exception with a message.- Parameters:
message
- The detail message.- Throws:
java.lang.NullPointerException
- Ifproperty
parameter is null.
ValueConversionException
public ValueConversionException(GProp<?> property, java.lang.String message, java.lang.Throwable cause)
Creates a property exception with a message and an exception cause.- Parameters:
property
- The originator property.message
- The detail message.cause
- The real causing exception, null for none.- Throws:
java.lang.NullPointerException
- Ifproperty
parameter is null.