|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.osesb.validationbeans.AssertionException
public class AssertionException
AssertionException(s) are thrown by the assertXXX methods in the Assertions Class when an assertion test fails.
Assertions is a static-only Class with assertion methods that can be used by ValidationBeans to validate data. The Assertions class provides assertXXX methods for evaluating data constraints for equality, null, not null, less than, greater than, calendar arithmatic, and so forth. Assertion methods do not return a result. If the assertion fails, an AssertionException is thrown with a programmer-defined message.
| Constructor Summary | |
|---|---|
AssertionException()
Creates a new instance of AssertionException. |
|
AssertionException(java.lang.String message)
Creates a new instance of AssertionException with the given message. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AssertionException()
public AssertionException(java.lang.String message)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||