polyglot.visit
Class CFGBuildError

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bypolyglot.util.InternalCompilerError
                  extended bypolyglot.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)
           
 
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)