|
org.netbeans.modules.nbjunit/1 1.41 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Error
junit.framework.AssertionFailedError
org.netbeans.junit.AssertionFailedErrorException
public class AssertionFailedErrorException
Error containing nested Exception. It describes the failure and holds and print also the original Exception.
| Field Summary | |
|---|---|
protected Throwable |
nestedException
contains Exception that caused AssertionFailedError |
| Constructor Summary | |
|---|---|
AssertionFailedErrorException(String message,
Throwable nestedException)
Creates new AssertionFailedErrorException |
|
AssertionFailedErrorException(Throwable nestedException)
Creates new AssertionFailedErrorException |
|
| Method Summary | |
|---|---|
void |
printStackTrace()
prints stack trace of assertion error and nested exception into System.err |
void |
printStackTrace(PrintStream err)
prints stack trace of assertion error and nested exception |
void |
printStackTrace(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 Throwable nestedException
| Constructor Detail |
|---|
public AssertionFailedErrorException(Throwable nestedException)
nestedException - contains Exception that caused AssertionFailedErrorpublic AssertionFailedErrorException(String message, Throwable nestedException)
message - The error description menssage.nestedException - contains Exception that caused AssertionFailedError| Method Detail |
|---|
public void printStackTrace()
printStackTrace in class Throwablepublic void printStackTrace(PrintWriter err)
printStackTrace in class Throwableerr - PrintWriter where to print stack tracepublic void printStackTrace(PrintStream err)
printStackTrace in class Throwableerr - PrintStream where to print stack trace
|
org.netbeans.modules.nbjunit/1 1.41 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||