|
|||||||||
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.jtiger.assertion.AssertionException
public final class AssertionException
An exception that may be thrown to indicate that an assertion was not met.
Constructor Summary | |
---|---|
AssertionException()
Create a default AssertionException. |
|
AssertionException(Object... message)
Create a AssertionException with the given message. |
|
AssertionException(Throwable cause)
Create a AssertionException with the given cause. |
|
AssertionException(Throwable cause,
Object... message)
Create a AssertionException with the given message and cause. |
Method Summary | |
---|---|
String |
getMessage()
Returns the message for this exception which may be concatenated by passing multiple arguments to constructors. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, 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(Object... message)
message
- The message of the AssertionException.public AssertionException(Throwable cause)
cause
- The cause of the AssertionException.public AssertionException(Throwable cause, Object... message)
cause
- The cause of the AssertionException.message
- The message of the AssertionException.Method Detail |
---|
public String getMessage()
getMessage
in class Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |