jsint
Class BacktraceException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjsint.BacktraceException
All Implemented Interfaces:
java.io.Serializable

public class BacktraceException
extends java.lang.RuntimeException

A jsint.BacktraceException is used to capture and report on uncaught Exceptions thrown in a Jscheme program.

Author:
Ken R. Anderson, Copyright 2000, kanderso@bbn.com, license subsequently modified by Jscheme project members licensed under zlib licence (see license.txt)
See Also:
Serialized Form

Field Summary
static boolean printJavaTrace
           
 
Constructor Summary
BacktraceException(java.lang.Throwable e, java.lang.Object[] args)
           
BacktraceException(java.lang.Throwable e, java.lang.Object[] args, LexicalEnvironment lexenv)
           
 
Method Summary
static boolean checkBacktrace()
           
 java.lang.Throwable fillInStackTrace()
          Clever performance trick i found in http://docs.msdnaa.net/ark_new/Webfiles/WhitePapers/Babel01/bab12.pdf
 java.lang.Throwable getBaseException()
           
 void printStackTrace()
           
 void printStackTrace(java.io.PrintStream s)
           
 void printStackTrace(java.io.PrintWriter s)
           
 void showargs(java.lang.Object x, java.io.PrintWriter s)
           
 
Methods inherited from class java.lang.Throwable
getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

printJavaTrace

public static boolean printJavaTrace
Constructor Detail

BacktraceException

public BacktraceException(java.lang.Throwable e,
                          java.lang.Object[] args)

BacktraceException

public BacktraceException(java.lang.Throwable e,
                          java.lang.Object[] args,
                          LexicalEnvironment lexenv)
Method Detail

fillInStackTrace

public java.lang.Throwable fillInStackTrace()
Clever performance trick i found in http://docs.msdnaa.net/ark_new/Webfiles/WhitePapers/Babel01/bab12.pdf


getBaseException

public java.lang.Throwable getBaseException()

printStackTrace

public void printStackTrace(java.io.PrintStream s)

printStackTrace

public void printStackTrace()

checkBacktrace

public static boolean checkBacktrace()

printStackTrace

public void printStackTrace(java.io.PrintWriter s)

showargs

public void showargs(java.lang.Object x,
                     java.io.PrintWriter s)