org.apache.commons.latka
Class ValidationException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.apache.commons.latka.ValidationException
- All Implemented Interfaces:
- java.io.Serializable
- public class ValidationException
- extends java.lang.Exception
Needs docs
- Author:
- Doug Sale
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getLabel()
User's description of the test/assertion |
java.lang.String |
getMessage()
|
java.lang.String |
getReason()
Why the test/assertion failed |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ValidationException
public ValidationException()
ValidationException
public ValidationException(java.lang.String label,
java.lang.String reason)
getLabel
public java.lang.String getLabel()
- User's description of the test/assertion
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable
getReason
public java.lang.String getReason()
- Why the test/assertion failed
Copyright © 2001 Apache Software Foundation. Documenation generated September 13 2001.