polyglot.util
Class InternalCompilerError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by polyglot.util.InternalCompilerError
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CFGBuildError, QQError

public class InternalCompilerError
extends java.lang.RuntimeException

Exception thrown when the compiler is confused.

See Also:
Serialized Form

Constructor Summary
InternalCompilerError(Position position, java.lang.String msg)
           
InternalCompilerError(java.lang.String msg)
           
InternalCompilerError(java.lang.String msg, Position position)
           
InternalCompilerError(java.lang.String msg, Position position, java.lang.Throwable cause)
           
InternalCompilerError(java.lang.String msg, java.lang.Throwable cause)
           
InternalCompilerError(java.lang.Throwable cause)
           
 
Method Summary
 java.lang.String getMessage()
           
 java.lang.String message()
           
 Position 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

InternalCompilerError

public InternalCompilerError(java.lang.String msg)

InternalCompilerError

public InternalCompilerError(java.lang.Throwable cause)

InternalCompilerError

public InternalCompilerError(java.lang.String msg,
                             java.lang.Throwable cause)

InternalCompilerError

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

InternalCompilerError

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

InternalCompilerError

public InternalCompilerError(java.lang.String msg,
                             Position position,
                             java.lang.Throwable cause)
Method Detail

position

public Position position()

message

public java.lang.String message()

getMessage

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