Do not prepend "Runtime error" in EcmaScriptExceptions.

This commit is contained in:
hns 2002-11-22 14:00:12 +00:00
parent ac03362a52
commit 16bc1ab07b

View file

@ -102,7 +102,7 @@ public class EcmaScriptException extends Exception {
* <P>If cause by another exception displays its callback chain * <P>If cause by another exception displays its callback chain
*/ */
public String getMessage() { public String getMessage() {
String msg = "Runtime error " + super.getMessage(); String msg = super.getMessage();
if (originatingException!=null) { if (originatingException!=null) {
msg += eol + "Caused by exception: " + eol + " " + originatingException.getMessage(); msg += eol + "Caused by exception: " + eol + " " + originatingException.getMessage();
} }