src/jdk/nashorn/internal/objects/NativeSyntaxError.java

Print this page

        

@@ -53,10 +53,14 @@
 
     /** ECMA 15.1.1.1 message property */
     @Property(attributes = Attribute.NOT_ENUMERABLE, where = Where.PROTOTYPE)
     public Object message;
 
+    /** Nashorn extension: underlying exception */
+    @Property(attributes = Attribute.NOT_ENUMERABLE)
+    public Object nashornException;
+
     // initialized by nasgen
     private static PropertyMap $nasgenmap$;
 
     static PropertyMap getInitialMap() {
         return $nasgenmap$;