polyglot.types
Class SemanticException
java.lang.Object
java.lang.Throwable
java.lang.Exception
polyglot.types.SemanticException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- BadSerializationException, NoClassException, NoMemberException
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
position
protected Position position
SemanticException
public SemanticException()
SemanticException
public SemanticException(java.lang.Throwable cause)
SemanticException
public SemanticException(Position position)
SemanticException
public SemanticException(java.lang.String m)
SemanticException
public SemanticException(java.lang.String m,
java.lang.Throwable cause)
SemanticException
public SemanticException(java.lang.String m,
Position position)
position
public Position position()