< prev index next >

src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CatchTree.java

Print this page

        

@@ -32,12 +32,16 @@
  * <pre>
  *   catch ( <em>parameter</em> )
  *       <em>block</em>
  * </pre>
  *
+ * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool
+ * are deprecated with the intent to remove them in a future release.
+ *
  * @since 9
  */
+@Deprecated(since="11", forRemoval=true)
 public interface CatchTree extends Tree {
     /**
      * Returns the catch parameter identifier or parameter binding pattern of the exception caught.
      *
      * @return the catch parameter identifier or parameter binding pattern
< prev index next >