jltools.types
Class SemanticException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--jltools.types.SemanticException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
NoClassException

public class SemanticException
extends java.lang.Exception

Thrown during any number of phases of the compiler during which a semantic error may be detected.

See Also:
Serialized Form

Field Summary
protected  Position position
           
 
Constructor Summary
SemanticException()
           
SemanticException(Position position)
           
SemanticException(java.lang.String m)
           
SemanticException(java.lang.String m, Position position)
           
 
Method Summary
 Position position()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

position

protected Position position
Constructor Detail

SemanticException

public SemanticException()

SemanticException

public SemanticException(Position position)

SemanticException

public SemanticException(java.lang.String m)

SemanticException

public SemanticException(java.lang.String m,
                         Position position)
Method Detail

position

public Position position()