org.objectweb.fractal.adl.merger
Class MergeException

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

public class MergeException
extends java.lang.Exception

Exception thrown when two AST can't be merged.

See Also:
Serialized Form

Constructor Summary
MergeException(java.lang.String msg)
          Constructs a new MergeException.
MergeException(java.lang.String msg, Node src)
          Constructs a new MergeException.
MergeException(java.lang.String msg, Node src, java.lang.Throwable e)
          Constructs a new MergeException.
MergeException(java.lang.String msg, java.lang.Throwable e)
          Constructs a new MergeException.
MergeException(java.lang.Throwable e)
          Constructs a new MergeException.
 
Method Summary
 java.lang.String getMessage()
           
 Node getSrc()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MergeException

public MergeException(java.lang.String msg)
Constructs a new MergeException.

Parameters:
msg - a detail message.

MergeException

public MergeException(java.lang.String msg,
                      Node src)
Constructs a new MergeException.

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

MergeException

public MergeException(java.lang.Throwable e)
Constructs a new MergeException.

Parameters:
e - the exception that caused this exception.

MergeException

public MergeException(java.lang.String msg,
                      java.lang.Throwable e)
Constructs a new MergeException.

Parameters:
msg - a detail message.
e - the exception that caused this exception.

MergeException

public MergeException(java.lang.String msg,
                      Node src,
                      java.lang.Throwable e)
Constructs a new MergeException.

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

getSrc

public Node getSrc()
Returns:
the source node of the error. May be null.

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable


Copyright © 2001-2010 ObjectWeb Consortium. All Rights Reserved.