orc.error.runtime
Class JavaError

java.lang.Object
  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
                          extended by orc.error.runtime.JavaError
All Implemented Interfaces:
java.io.Serializable, Locatable, Located

public class JavaError
extends TokenError

A container for Java-level exceptions raised while processing a token. These are wrapped as Orc exceptions so they can be handled by Token.error(TokenException).

See Also:
Serialized Form

Constructor Summary
JavaError(java.lang.Throwable cause)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class orc.error.runtime.TokenException
getBacktrace, getSourceLocation, setBacktrace, setSourceLocation
 
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

JavaError

public JavaError(java.lang.Throwable cause)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class TokenException