Package com.iizix.prop
Class PropValidateException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- com.iizix.prop.PropException
- com.iizix.prop.PropValidateException
- All Implemented Interfaces:
java.io.Serializable
public class PropValidateException extends PropException
Exception thrown when a property is set and doesn't validate correctly. This exception is typically used with thePropertyValidator
class or thevalidate
method for properties.- Author:
- Christopher Mindus
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description PropValidateException(GProp<?> property, java.lang.String message)
Creates a property exception with a message.
Method Summary
Methods inherited from class com.iizix.prop.PropException
getProperty, toString
Constructor Detail
PropValidateException
public PropValidateException(GProp<?> property, java.lang.String message)
Creates a property exception with a message.- Parameters:
message
- the detail message.