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