org.openxava.util
Class AssertException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.openxava.util.AssertException
All Implemented Interfaces:
java.io.Serializable

public class AssertException
extends java.lang.RuntimeException

Exception thrown when a assert is broken.

The break of a assert imply a programming error. Usually this exception is not thrown directly but from Assert class.
It si not mandatory throw this exception in case of programming error, another possible exceptions are anothers RuntimeException associated to the source problem, for example IndexOutOfBoundsException, IllegalArgumentException or the ominous NullPointerException.

See Also:
Serialized Form

Constructor Summary
AssertException()
           
AssertException(java.lang.String s)
           
 
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

AssertException

public AssertException()

AssertException

public AssertException(java.lang.String s)