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:
- java.io.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
|
Field Summary |
PoemType |
type
Type we are trying to assign to. |
java.lang.Object |
value
Value that will not be coerced. |
|
Method Summary |
java.lang.String |
getMessage()
The detail message which may be null. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
type
public PoemType type
- Type we are trying to assign to.
value
public java.lang.Object value
- Value that will not be coerced.
ValidationPoemException
public ValidationPoemException(PoemType type,
java.lang.Object value,
java.lang.Exception exception)
- Constructor.
ValidationPoemException
public ValidationPoemException(PoemType type,
java.lang.Object value)
- Constructor.
getMessage
public java.lang.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-2009 PanEris. All Rights Reserved.