1 package com.puppycrawl.tools.checkstyle.checks.javadoc.javadocmethod;
2
3 public class InputJavadocMethod_03 {
4
5
6
7
8
9 public void doStuff1() throws TestException1, TestException2 {
10 try {
11 doStuff2();
12 } catch (final TestException2 e) { }
13 throw new InputJavadocMethod_03().new TestException1("");
14 }
15
16
17
18 private static void doStuff2() throws TestException2 {
19 throw new TestException2("");
20 }
21
22
23 class TestException1 extends Exception {
24
25
26
27 TestException1(String messg) {
28 super(messg);
29 }
30 }
31
32
33 public static class TestException2 extends Exception {
34
35
36
37 TestException2(String messg) {
38 super(messg);
39 }
40 }
41 }