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