src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/scripting/NashornException.java
Print this page
@@ -39,11 +39,14 @@
* are cases where user may need to access this exception (or implementation
* defined subtype of this). For example, if java interface is implemented by a
* script object or Java access to script object properties via java.util.Map
* interface. In these cases, user code will get an instance of this or
* implementation defined subclass.
+ *
+ * @since 1.8u40
*/
+@jdk.Exported
@SuppressWarnings("serial")
public abstract class NashornException extends RuntimeException {
// script file name
private String fileName;
// script line number