com.caucho.java
Class ScriptStackTrace

java.lang.Object
  extended by com.caucho.java.ScriptStackTrace

public class ScriptStackTrace
extends java.lang.Object

Prints a stack trace using JSR-45


Constructor Summary
ScriptStackTrace()
           
 
Method Summary
static LineMap getScriptLineMap(java.lang.String className, java.lang.ClassLoader loader)
          Loads the local line map for a class.
static void printStackTrace(java.lang.Throwable e, java.io.PrintWriter out)
          Filter a stack trace, replacing names.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptStackTrace

public ScriptStackTrace()
Method Detail

printStackTrace

public static void printStackTrace(java.lang.Throwable e,
                                   java.io.PrintWriter out)
Filter a stack trace, replacing names.


getScriptLineMap

public static LineMap getScriptLineMap(java.lang.String className,
                                       java.lang.ClassLoader loader)
Loads the local line map for a class.