Do not prepend "Runtime error" in EcmaScriptExceptions.
This commit is contained in:
parent
ac03362a52
commit
16bc1ab07b
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue