|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.openxava.util.AssertException
public class AssertException
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.
| 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 |
|---|
public AssertException()
public AssertException(java.lang.String s)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||