jltools.util
Class InternalCompilerError

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--jltools.util.InternalCompilerError
All Implemented Interfaces:
java.io.Serializable

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)
           
 
Method Summary
 java.lang.String getMessage()
           
 java.lang.String message()
           
 Position position()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, 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(Position position,
                             java.lang.String msg)

InternalCompilerError

public InternalCompilerError(java.lang.String msg,
                             Position position)
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