fr.umlv.jmmf.matcher
Class MatchingMethodInvocationException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--fr.umlv.jmmf.matcher.MatchingMethodInvocationException
- All Implemented Interfaces:
- java.io.Serializable
- public class MatchingMethodInvocationException
- extends java.lang.RuntimeException
This class is the same of InvocationTargetException but
extends RuntimeException.
- Version:
- 0.4
- Author:
- Remi Forax
- See Also:
- Serialized Form
|
Method Summary |
java.lang.Exception |
getTargetException()
get the exception thrown in the matching method. |
void |
printStackTrace()
prints the stack trace of the thrown target exception. |
void |
printStackTrace(java.io.PrintStream ps)
prints the stack trace of the thrown target exception to the
specified print stream. |
void |
printStackTrace(java.io.PrintWriter pw)
prints the stack trace of the thrown target exception to the
specified print writer. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
toString |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
MatchingMethodInvocationException
public MatchingMethodInvocationException(java.lang.Exception e)
- construct the MatchingMethodInvocationException with the
matching method exception.
getTargetException
public java.lang.Exception getTargetException()
- get the exception thrown in the matching method.
printStackTrace
public void printStackTrace()
- prints the stack trace of the thrown target exception.
- Overrides:
- printStackTrace in class java.lang.Throwable
- See Also:
java.lang.System.err
printStackTrace
public void printStackTrace(java.io.PrintStream ps)
- prints the stack trace of the thrown target exception to the
specified print stream.
- Overrides:
- printStackTrace in class java.lang.Throwable
printStackTrace
public void printStackTrace(java.io.PrintWriter pw)
- prints the stack trace of the thrown target exception to the
specified print writer.
- Overrides:
- printStackTrace in class java.lang.Throwable
Rémi Forax 1999,2000 Université de Marne la Vallée