src/share/classes/com/sun/source/tree/CatchTree.java

Print this page




  23  * questions.
  24  */
  25 
  26 package com.sun.source.tree;
  27 
  28 /**
  29  * A tree node for a 'catch' block in a 'try' statement.
  30  *
  31  * For example:
  32  * <pre>
  33  *   catch ( <em>parameter</em> )
  34  *       <em>block</em>
  35  * </pre>
  36  *
  37  * @jls section 14.20
  38  *
  39  * @author Peter von der Ah&eacute;
  40  * @author Jonathan Gibbons
  41  * @since 1.6
  42  */
  43 @jdk.Supported
  44 public interface CatchTree extends Tree {
  45     VariableTree getParameter();
  46     BlockTree getBlock();
  47 }


  23  * questions.
  24  */
  25 
  26 package com.sun.source.tree;
  27 
  28 /**
  29  * A tree node for a 'catch' block in a 'try' statement.
  30  *
  31  * For example:
  32  * <pre>
  33  *   catch ( <em>parameter</em> )
  34  *       <em>block</em>
  35  * </pre>
  36  *
  37  * @jls section 14.20
  38  *
  39  * @author Peter von der Ah&eacute;
  40  * @author Jonathan Gibbons
  41  * @since 1.6
  42  */
  43 @jdk.Exported
  44 public interface CatchTree extends Tree {
  45     VariableTree getParameter();
  46     BlockTree getBlock();
  47 }