View Javadoc

1   package net.sourceforge.pmd.ast;
2   
3   public class ASTCatch {
4       private ASTFormalParameter parameter;
5       private ASTBlock block;
6   
7       public ASTCatch(ASTFormalParameter parameter, ASTBlock block) {
8           this.parameter = parameter;
9           this.block = block;
10      }
11  
12      public ASTFormalParameter getFormalParameter() {
13          return parameter;
14      }
15  
16      public ASTBlock getBlock() {
17          return block;
18      }
19  }