org.objectweb.fractal.adl
Class ADLException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.objectweb.fractal.adl.ADLException
All Implemented Interfaces:
Serializable

public class ADLException
extends Exception

Thrown when an error occurs during the analysis of an ADL definition.

See Also:
Serialized Form

Constructor Summary
ADLException(String msg, Node src)
          Constructs a new ADLException.
ADLException(String msg, Node src, Exception e)
          Constructs a new ADLException.
 
Method Summary
 void printStackTrace()
          Prints the stack backtrace.
 void printStackTrace(PrintStream s)
          Prints this exception and its backtrace to the specified print stream.
 void printStackTrace(PrintWriter s)
          Prints this exception and its backtrace to the specified print writer.
 
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

ADLException

public ADLException(String msg,
                    Node src)
Constructs a new ADLException.

Parameters:
msg - a detail message.
src - where the error is located.

ADLException

public ADLException(String msg,
                    Node src,
                    Exception e)
Constructs a new ADLException.

Parameters:
msg - a detail message.
src - where the error is located.
e - the exception that caused this exception.
Method Detail

printStackTrace

public void printStackTrace()
Prints the stack backtrace.

Overrides:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(PrintStream s)
Prints this exception and its backtrace to the specified print stream.

Overrides:
printStackTrace in class Throwable
Parameters:
s - PrintStream to use for output.

printStackTrace

public void printStackTrace(PrintWriter s)
Prints this exception and its backtrace to the specified print writer.

Overrides:
printStackTrace in class Throwable
Parameters:
s - PrintWriter to use for output.