org.objectweb.fractal.adl

Class ADLException


public class ADLException
extends Exception

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

Constructor Summary

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

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.

Constructor Details

ADLException

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

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


ADLException

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

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

Method Details

printStackTrace

public void printStackTrace()
Prints the stack backtrace.


printStackTrace

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

Parameters:
s - PrintStream to use for output.


printStackTrace

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

Parameters:
s - PrintWriter to use for output.