|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--edu.neu.ccs.demeter.dj.VisitorMethodException
Thrown by Visitor.invokeMethod(String, Object, Class) when
a visitor method throws an exception.
| Constructor Summary | |
VisitorMethodException(Throwable exception)
Construct a VisitorMethodException wrapper around the exception thrown by the visitor method. |
|
| Method Summary | |
Throwable |
getException()
Get the exception thrown by the visitor method. |
void |
printStackTrace()
Prints the stack trace of the exception thrown by the visitor method in place of this one, to stderr. |
void |
printStackTrace(PrintStream ps)
Print the stack trace of the exception thrown by the visitor method in place of this one. |
void |
printStackTrace(PrintWriter pw)
Print the stack trace of the exception thrown by the visitor method in place of this one. |
| 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 |
| Constructor Detail |
public VisitorMethodException(Throwable exception)
| Method Detail |
public Throwable getException()
public void printStackTrace()
printStackTrace in class Throwablepublic void printStackTrace(PrintStream ps)
printStackTrace in class Throwablepublic void printStackTrace(PrintWriter pw)
printStackTrace in class Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||