For example, when evaluating a variable that doesn't exist:
ReferenceError: "fooqwer" is not defined jdk.nashorn.internal.runtime.ECMAException: ReferenceError: "fooqwer" is not defined
at <program> (<eval>:1)
at main (file:/c:/kod/projects/nashorn-debugging/debugee/scripts/script.js:13)
For example, when evaluating a variable that doesn't exist:
The ECMAException part is redundant.