orc.error.compiletime
Class CompilationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
orc.error.OrcException
orc.error.compiletime.CompilationException
- All Implemented Interfaces:
- java.io.Serializable, Locatable, Located
- Direct Known Subclasses:
- ParsingException, PatternException, SiteResolutionException, TypeException, UnboundVariableException
public class CompilationException
- extends OrcException
- implements Locatable
Exceptions generated during Orc compilation from source to
portable compiled representations.
- Author:
- dkitchin
- See Also:
- Serialized Form
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 |
location
protected SourceLocation location
CompilationException
public CompilationException(java.lang.String message)
CompilationException
public CompilationException(java.lang.String message,
java.lang.Throwable cause)
CompilationException
public CompilationException(java.lang.Throwable cause)
setSourceLocation
public void setSourceLocation(SourceLocation location)
- Specified by:
setSourceLocation
in interface Locatable
getSourceLocation
public SourceLocation getSourceLocation()
- Specified by:
getSourceLocation
in interface Located
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable
getMessageOnly
public java.lang.String getMessageOnly()