|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--junitx.framework.TestAccessException
The TestAccessException is beeing thrown instead of
the bunch of exceptions concerning the reflection API.
| Constructor Summary | |
TestAccessException()
constructor |
|
TestAccessException(java.lang.String aMsg)
constructor |
|
TestAccessException(java.lang.String aMsg,
java.lang.Exception aReason)
constructor |
|
TestAccessException(java.lang.String aPrefix,
java.lang.Object anObject,
java.lang.String aFieldName,
java.lang.String aSuffix)
constructor |
|
TestAccessException(java.lang.String aPrefix,
java.lang.Object anObject,
java.lang.String aFieldName,
java.lang.String aSuffix,
java.lang.Exception aReason)
constructor |
|
| Method Summary | |
java.lang.Exception |
getReason()
gets the reason for this exception |
void |
printStackTrace()
prints the stack trace of the thrown exception |
void |
printStackTrace(java.io.PrintStream aPrintStream)
prints the stack trace of the thrown target exception to the specified print stream. |
void |
printStackTrace(java.io.PrintWriter aPrintWriter)
prints the stack trace of the thrown target exception to the specified print writer. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TestAccessException()
public TestAccessException(java.lang.String aMsg)
aMsg - an error message
public TestAccessException(java.lang.String aMsg,
java.lang.Exception aReason)
aMsg - an error messageaReason - the exception which led to this one
public TestAccessException(java.lang.String aPrefix,
java.lang.Object anObject,
java.lang.String aFieldName,
java.lang.String aSuffix)
aPrefix - a string prefix or nullanObject - an object instanceaFieldName - a fieldname or nullaSuffix - a string suffix or null
public TestAccessException(java.lang.String aPrefix,
java.lang.Object anObject,
java.lang.String aFieldName,
java.lang.String aSuffix,
java.lang.Exception aReason)
aPrefix - a string prefix or nullanObject - an object instanceaFieldName - a fieldname or nullaSuffix - a string suffix or nullaReason - the exception which led to this one| Method Detail |
public java.lang.Exception getReason()
public void printStackTrace()
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream aPrintStream)
printStackTrace in class java.lang.ThrowableaPrintStream - an instance of PrintStreampublic void printStackTrace(java.io.PrintWriter aPrintWriter)
printStackTrace in class java.lang.ThrowableaPrintWriter - an instance of PrintWriterpublic java.lang.String toString()
toString in class java.lang.ThrowableString representation of the exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||