JMMF API
pre-release v0.8

fr.umlv.jmmf.matcher
Class MatchingMethodException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--fr.umlv.jmmf.matcher.MatchingMethodException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
MatchingMethodInvocationException, MultipleMatchingMethodsException, NoMatchingMethodException

public abstract class MatchingMethodException
extends java.lang.RuntimeException

This class is the root class for all matching exceptions.

Version:
0.6.1
Author:
Remi Forax
See Also:
Serialized Form

Constructor Summary
protected MatchingMethodException(java.lang.Exception e)
          construct a MatchingMethodException with an exception raised during the matching algorithm.
protected MatchingMethodException(java.lang.String message)
          construct a MatchingMethodException with a detail message.
 
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
 

Constructor Detail

MatchingMethodException

protected MatchingMethodException(java.lang.Exception e)
construct a MatchingMethodException with an exception raised during the matching algorithm.

MatchingMethodException

protected MatchingMethodException(java.lang.String message)
construct a MatchingMethodException with a detail message.
Method Detail

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

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

JMMF API
pre-release v0.8

Rémi Forax 1999,2000 Université de Marne la Vallée