polyglot.visit
Class CFGBuildError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by polyglot.util.InternalCompilerError
                  extended by polyglot.visit.CFGBuildError
All Implemented Interfaces:
java.io.Serializable

public class CFGBuildError
extends InternalCompilerError

Exception thrown when the CFG cannot be built. This should be a SemanticException, but is an error so it doesn't need to be declared in the signature of Node.acceptCFG.

See Also:
Serialized Form

Constructor Summary
CFGBuildError(Position position, java.lang.String msg)
           
CFGBuildError(java.lang.String msg)
           
CFGBuildError(java.lang.String msg, Position position)
           
 
Method Summary
 
Methods inherited from class polyglot.util.InternalCompilerError
getMessage, message, position
 
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

CFGBuildError

public CFGBuildError(java.lang.String msg)

CFGBuildError

public CFGBuildError(Position position,
                     java.lang.String msg)

CFGBuildError

public CFGBuildError(java.lang.String msg,
                     Position position)