Back to index

lightning-sunbird  0.9+nobinonly
Static Public Member Functions
netscape.javascript.JSUtil Class Reference

List of all members.

Static Public Member Functions

static String getStackTrace (Throwable t)

Detailed Description

Definition at line 44 of file JSUtil.java.


Member Function Documentation

static String netscape.javascript.JSUtil.getStackTrace ( Throwable  t) [inline, static]

Definition at line 47 of file JSUtil.java.

                                                    {
       ByteArrayOutputStream captureStream;
       PrintWriter p;
       
       captureStream = new ByteArrayOutputStream();
       p = new PrintWriter(captureStream);

       t.printStackTrace(p);
       p.flush();

       return captureStream.toString();
    }

The documentation for this class was generated from the following file: