Class TokenError

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by orc.error.OrcException
              extended by orc.error.runtime.ExecutionException
                  extended by orc.error.runtime.TokenException
                      extended by orc.error.runtime.TokenError
All Implemented Interfaces:
java.io.Serializable, Locatable, Located
Direct Known Subclasses:
JavaError, TokenLimitReachedError

public abstract class TokenError
extends TokenException

A non-recoverable error at a token, which must result in halting the whole engine. This extends TokenException because it simplifies error handling to have a common superclass for token errors and exceptions.

See Also:
Serialized Form

Constructor Summary
TokenError(java.lang.String message)
TokenError(java.lang.String message, java.lang.Throwable cause)
Method Summary
Methods inherited from class orc.error.runtime.TokenException
getBacktrace, getSourceLocation, setBacktrace, setSourceLocation, toString
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public TokenError(java.lang.String message)


public TokenError(java.lang.String message,
                  java.lang.Throwable cause)