Uses of Class
orc.error.runtime.TokenException

Packages that use TokenException
orc.error.runtime   
orc.lib.bool   
orc.lib.comp   
orc.lib.math   
orc.lib.state   
orc.lib.str   
orc.lib.time   
orc.lib.util   
orc.runtime Runtime for Orc interpreter. 
orc.runtime.sites Abstract base classes for Orc sites plus fundamental sites. 
orc.runtime.sites.core Fundamental sites. 
orc.runtime.sites.java Wrappers which enable using Java objects and classes as Orc sites. 
orc.runtime.values Representations for Orc types which don't have direct analogues in the host language (Java). 
orc.trace Generate and query Orc trace files. 
orc.trace.events Events which may appear in a trace file. 
 

Uses of TokenException in orc.error.runtime
 

Subclasses of TokenException in orc.error.runtime
 class ArgumentTypeMismatchException
           
 class ArityMismatchException
           
 class CapabilityException
           
 class InsufficientArgsException
           
 class JavaError
          A container for Java-level exceptions raised while processing a token.
 class JavaException
          A container for Java-level exceptions raised by code implementing sites.
 class MessageNotUnderstoodException
           
 class MethodTypeMismatchException
           
 class RuntimeTypeException
          Superclass of all runtime type exceptions, including arity mismatches, argument type mismatches, and attempts to call uncallable values.
 class SiteException
          Any exception occurring in a well-formed, well-typed site call.
 class StackLimitReachedError
           
 class TokenError
          A non-recoverable error at a token, which must result in halting the whole engine.
 class TokenLimitReachedError
           
 class UncallableValueException
          Exception raised when an uncallable value occurs in call position.
 class UncaughtException
           
 

Uses of TokenException in orc.lib.bool
 

Methods in orc.lib.bool that throw TokenException
 java.lang.Object BoolBinopSite.evaluate(Args args)
           
 

Uses of TokenException in orc.lib.comp
 

Methods in orc.lib.comp that throw TokenException
 java.lang.Object ComparisonSite.evaluate(Args args)
           
 

Uses of TokenException in orc.lib.math
 

Methods in orc.lib.math that throw TokenException
 java.lang.Object UMinus.evaluate(Args args)
           
 java.lang.Object Sub.evaluate(Args args)
           
 java.lang.Object Mult.evaluate(Args args)
           
 java.lang.Object Mod.evaluate(Args args)
           
 java.lang.Object Floor.evaluate(Args args)
           
 java.lang.Object Exponent.evaluate(Args args)
           
 java.lang.Object Div.evaluate(Args args)
           
 java.lang.Object Ceil.evaluate(Args args)
           
 java.lang.Object Add.evaluate(Args args)
           
 

Uses of TokenException in orc.lib.state
 

Methods in orc.lib.state that throw TokenException
 java.lang.Object Semaphore.evaluate(Args args)
           
 java.lang.Object Record.evaluate(Args args)
           
 java.lang.Object Dictionary.evaluate(Args args)
           
 java.lang.Object Counter.evaluate(Args args)
           
 java.lang.Object BoundedBuffer.evaluate(Args args)
           
 

Uses of TokenException in orc.lib.str
 

Methods in orc.lib.str that throw TokenException
 void Println.callSite(Args args, Token caller)
           
 void Print.callSite(Args args, Token caller)
           
 java.lang.Object Write.evaluate(Args args)
           
 java.lang.Object Read.evaluate(Args args)
           
 java.lang.Object Cat.evaluate(Args args)
           
 

Uses of TokenException in orc.lib.time
 

Methods in orc.lib.time that throw TokenException
 void Rtimer.callSite(Args args, Token caller)
           
 void PushLtimer.callSite(Args args, Token caller)
           
 void PopLtimer.callSite(Args args, Token caller)
           
 void Ltimer.callSite(Args args, Token caller)
           
 

Uses of TokenException in orc.lib.util
 

Methods in orc.lib.util that throw TokenException
 void Apply.callSite(Args args, Token caller)
           
 void Apply.createCall(Token caller, java.util.List<java.lang.Object> args, TokenContinuation nextNode)
           
 java.lang.Object UUID.evaluate(Args args)
           
 java.lang.Object URandom.evaluate(Args args)
           
 java.lang.Object ThreadSite.evaluate(Args args)
           
 java.lang.Object ReadText.evaluate(Args args)
           
 java.lang.Object Random.evaluate(Args args)
           
 java.lang.Object Prompt.evaluate(Args args)
           
 java.lang.Object JavaArray.evaluate(Args args)
           
 

Uses of TokenException in orc.runtime
 

Methods in orc.runtime with parameters of type TokenException
 void Token.error(TokenException problem)
           
 void OrcEngine.onError(TokenException problem)
          Handle an error token.
 void Token.throwJavaException(TokenException problem)
           
 void Token.throwRuntimeException(TokenException problem)
           
 void OrcEngine.tokenError(TokenException problem)
          A token owned by this engine has encountered an exception.
 

Methods in orc.runtime that throw TokenException
static
<T> T
Args.applyNumericOperator(java.lang.Number a, java.lang.Number b, Args.NumericBinaryOperator<T> op)
          Dispatch a binary operator based on the widest type of two numbers.
 boolean Args.boolArg(int n)
          Helper function for booleans
 java.lang.String Args.fieldName()
           
 java.lang.Object Args.getArg(int n)
          Helper function to retrieve the nth element as an object (starting from 0), with error checking
 int Args.intArg(int n)
          Helper function for integers
 ListLike Args.listLikeArg(int n)
           
 long Args.longArg(int n)
          Helper function for longs
 java.lang.Number Args.numberArg(int n)
           
 java.lang.String Args.stringArg(int n)
          Helper function for strings.
 void Token.throwException(java.lang.Object exceptionValue)
           
 Value Args.valArg(int n)
          Deprecated.  
 

Uses of TokenException in orc.runtime.sites
 

Methods in orc.runtime.sites that throw TokenException
abstract  void Site.callSite(Args args, Token caller)
          Must be implemented by subclasses to implement the site behavior
 void PartialSite.callSite(Args args, Token caller)
           
 void KilimSite.callSite(Args args, Token caller)
           
 void EvalSite.callSite(Args args, Token caller)
           
 void DotSite.callSite(Args args, Token t)
           
 void Site.createCall(Token callToken, java.util.List<java.lang.Object> args, TokenContinuation publishContinuation)
          Invoked by a Call to invoke a site.
protected  void DotSite.defaultTo(Args args, Token token)
           
abstract  java.lang.Object ThreadedSite.evaluate(Args args)
           
abstract  java.lang.Object ThreadedPartialSite.evaluate(Args args)
           
abstract  java.lang.Object PartialSite.evaluate(Args args)
           
abstract  java.lang.Object KilimSite.evaluate(Args args)
           
abstract  java.lang.Object EvalSite.evaluate(Args args)
           
 java.lang.Object KilimSite.evaluate(Args args, kilim.Fiber f)
          FIXME: Kilim should add this method but it doesn't
 

Uses of TokenException in orc.runtime.sites.core
 

Methods in orc.runtime.sites.core that throw TokenException
 void TryNil.callSite(Args args, Token caller)
           
 void TryCons.callSite(Args args, Token caller)
           
 void Some.callSite(Args args, Token caller)
           
 void None.callSite(Args args, Token caller)
           
 void IsSome.callSite(Args args, Token caller)
           
 void IsNone.callSite(Args args, Token caller)
           
 void Error.callSite(Args args, Token caller)
           
 java.lang.Object Datasite.deconstruct(java.lang.Object arg)
           
protected  void Datasite.defaultTo(Args args, Token token)
           
 java.lang.Object Tag.evaluate(Args args)
          Deprecated.  
 java.lang.Object SiteSite.evaluate(Args args)
           
 java.lang.Object Not.evaluate(Args args)
           
 java.lang.Object Let.evaluate(Args args)
           
 java.lang.Object Inequal.evaluate(Args args)
           
 java.lang.Object If.evaluate(Args args)
           
 java.lang.Object Equal.evaluate(Args args)
           
 java.lang.Object Datatype.evaluate(Args args)
           
 java.lang.Object Cons.evaluate(Args args)
           
 

Uses of TokenException in orc.runtime.sites.java
 

Methods in orc.runtime.sites.java that throw TokenException
 void ThreadedObjectProxy.callSite(Args args, Token caller)
           
 void ObjectProxy.callSite(Args args, Token caller)
           
 void MethodProxy.callSite(Args args, Token caller)
           
 void ClassProxy.callSite(Args args, Token caller)
           
 java.lang.Object MatchProxy.evaluate(Args args)
           
 

Uses of TokenException in orc.runtime.values
 

Methods in orc.runtime.values that throw TokenException
 void Closure.createCall(Token t, java.util.List<java.lang.Object> args, TokenContinuation publishContinuation)
           
 void Callable.createCall(Token caller, java.util.List<java.lang.Object> args, TokenContinuation publishContinuation)
          Create a call to a callable value
protected  void TupleValue.defaultTo(Args args, Token token)
           
 

Uses of TokenException in orc.trace
 

Methods in orc.trace with parameters of type TokenException
abstract  void TokenTracer.error(TokenException error)
          Report an error.
 void DerivedTracer.DerivedTokenTracer.error(TokenException error)
           
 

Uses of TokenException in orc.trace.events
 

Fields in orc.trace.events declared as TokenException
 TokenException ErrorEvent.error
           
 

Constructors in orc.trace.events with parameters of type TokenException
ErrorEvent(TokenException error)