orc.error.runtime
Class JavaException

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

public class JavaException
extends SiteException

A container for Java-level exceptions raised by code implementing sites. These are wrapped as Orc exceptions to localize the failure to the calling token.

Author:
dkitchin
See Also:
Serialized Form

Constructor Summary
JavaException(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

JavaException

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

toString

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