org.osesb.validationbeans
Class AssertionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.osesb.validationbeans.AssertionException
All Implemented Interfaces:
java.io.Serializable

public class AssertionException
extends java.lang.Exception

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.

Since:
Version .9
See Also:
Serialized Form

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

AssertionException

public AssertionException()
Creates a new instance of AssertionException.


AssertionException

public AssertionException(java.lang.String message)
Creates a new instance of AssertionException with the given message.