|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Error | +--junit.framework.AssertionFailedError | +--org.netbeans.junit.AssertionFailedErrorException
Error containing nested Exception. It describes the failure and holds and print also the original Exception.
Field Summary | |
protected java.lang.Throwable |
nestedException
contains Exception that caused AssertionFailedError |
Constructor Summary | |
AssertionFailedErrorException(java.lang.String message,
java.lang.Throwable nestedException)
Creates new AssertionFailedErrorException |
|
AssertionFailedErrorException(java.lang.Throwable nestedException)
Creates new AssertionFailedErrorException |
Method Summary | |
void |
printStackTrace()
prints stack trace of assertion error and nested exception into System.err |
void |
printStackTrace(java.io.PrintStream err)
prints stack trace of assertion error and nested exception |
void |
printStackTrace(java.io.PrintWriter err)
prints stack trace of assertion error and nested exception |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.Throwable nestedException
Constructor Detail |
public AssertionFailedErrorException(java.lang.Throwable nestedException)
nestedException
- contains Exception that caused AssertionFailedErrorpublic AssertionFailedErrorException(java.lang.String message, java.lang.Throwable nestedException)
message
- The error description menssage.nestedException
- contains Exception that caused AssertionFailedErrorMethod Detail |
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintWriter err)
printStackTrace
in class java.lang.Throwable
err
- PrintWriter where to print stack tracepublic void printStackTrace(java.io.PrintStream err)
printStackTrace
in class java.lang.Throwable
err
- PrintStream where to print stack trace
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |