orc.error.runtime
Class TokenException
java.lang.Object
   java.lang.Throwable
java.lang.Throwable
       java.lang.Exception
java.lang.Exception
           orc.error.OrcException
orc.error.OrcException
               orc.error.runtime.ExecutionException
orc.error.runtime.ExecutionException
                   orc.error.runtime.TokenException
orc.error.runtime.TokenException
- All Implemented Interfaces: 
- java.io.Serializable, Locatable, Located
- Direct Known Subclasses: 
- CapabilityException, MessageNotUnderstoodException, RuntimeTypeException, SiteException
- public abstract class TokenException 
- extends ExecutionException- implements Locatable
A localized failure at runtime. Errors of this type cause the executing
 token to remain silent and leave the execution, but they do not otherwise
 disrupt the execution. Since tokens are located at specific nodes and
 can thus be assigned a source location, a TokenException implements
 Locatable and will typically have its source location set before the
 exception is passed back to the engine.
- Author:
- dkitchin
- See Also:
- Serialized Form
 
 
| 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 | 
 
TokenException
public TokenException(java.lang.String message)
TokenException
public TokenException(java.lang.String message,
                      java.lang.Throwable cause)
getSourceLocation
public SourceLocation getSourceLocation()
- 
- Specified by:
- getSourceLocationin interface- Located
 
- 
 
setSourceLocation
public void setSourceLocation(SourceLocation location)
- 
- Specified by:
- setSourceLocationin interface- Locatable
 
- 
 
toString
public java.lang.String toString()
- 
- Overrides:
- toStringin class- java.lang.Throwable
 
-