View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.javadoc.javadocmethod;
2   
3   /**
4    * comment.
5    */
6   public class InputJavadocMethod_1379666 {
7       /**
8        * @throws BadStringFormat some text
9        */
10      public void ok() throws BadStringFormat {
11      }
12  
13  
14      /**
15       * Some comment.
16       * @throws com.puppycrawl.tools.checkstyle.checks.javadoc.javadocmethod.InputJavadocMethod_1379666.BadStringFormat some text
17       */
18      public void error1()
19          throws com.puppycrawl.tools.checkstyle.checks.javadoc.javadocmethod.InputJavadocMethod_1379666.BadStringFormat {
20      }
21  
22      /**
23       * @throws InputJavadocMethod_1379666.BadStringFormat some text
24       */
25      public void error2() throws InputJavadocMethod_1379666.BadStringFormat {
26      }
27  
28      /**
29       * Some exception class.
30       */
31      public static class BadStringFormat extends Exception {
32          /**
33           * Some comment.
34           * @param s string.
35           */
36          BadStringFormat(String s) {
37              super(s);
38          }
39      }
40  }