Avoid printing out exception twice in printStackTrace().

This commit is contained in:
hns 2002-11-22 14:21:43 +00:00
parent 8edec30f84
commit c1338c3d67

View file

@ -144,7 +144,7 @@ public class EcmaScriptException extends Exception {
* standard error stream. * standard error stream.
*/ */
public void printStackTrace() { public void printStackTrace() {
System.err.println(this); // System.err.println(this);
printStackTrace0(new PrintWriter(System.err)); printStackTrace0(new PrintWriter(System.err));
} }