org.melati.poem
Class ValidationPoemException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.melati.poem.PoemException
org.melati.poem.NormalPoemException
org.melati.poem.ValidationPoemException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- BinaryLengthValidationPoemException, StringLengthValidationPoemException
public class ValidationPoemException
- extends NormalPoemException
Thrown when a Field
's value does not meet its contract.
- Author:
- WilliamC@paneris.org
- See Also:
- Serialized Form
type
public PoemType type
- Type we are trying to assign to.
value
public Object value
- Value that will not be coerced.
ValidationPoemException
public ValidationPoemException(PoemType type,
Object value,
Exception exception)
- Constructor.
ValidationPoemException
public ValidationPoemException(PoemType type,
Object value)
- Constructor.
getMessage
public String getMessage()
- Description copied from class:
PoemException
- The detail message which may be null.
- Overrides:
getMessage
in class PoemException
- Returns:
- The detail message
- See Also:
Throwable.getMessage()
Copyright © 2000-2010 PanEris. All Rights Reserved.