sofya.graphs.cfg
Class TransformationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by sofya.graphs.cfg.TransformationException
All Implemented Interfaces:
java.io.Serializable

public class TransformationException
extends java.lang.Exception

Exception which is raised by a CFGTransformer if it cannot successfully apply its transformation for some reason.

Version:
11/29/2004
Author:
Alex Kinneer
See Also:
Serialized Form

Constructor Summary
TransformationException()
          Creates a transformation exception with no message or causing exception.
TransformationException(java.lang.String msg)
          Creates a transformation exception with the specified message and no causing exception.
TransformationException(java.lang.String msg, java.lang.Throwable cause)
          Creates a transformation exception with the specified message and causing exception.
 
Method Summary
 java.lang.Throwable getCause()
          Gets the wrapped exception indicating the original cause for failure.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, 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

TransformationException

public TransformationException()
Creates a transformation exception with no message or causing exception.


TransformationException

public TransformationException(java.lang.String msg)
Creates a transformation exception with the specified message and no causing exception.

Parameters:
msg - Message associated with this exception.

TransformationException

public TransformationException(java.lang.String msg,
                               java.lang.Throwable cause)
Creates a transformation exception with the specified message and causing exception.

Method Detail

getCause

public java.lang.Throwable getCause()
Gets the wrapped exception indicating the original cause for failure.

Overrides:
getCause in class java.lang.Throwable
Returns:
The original exception which caused this type inference exception to be raised, may be null.