code: /*
  MissingJavadocMethod
  minLineCount = (default)-1
  allowedAnnotations = (default)Override
  scope = private
  excludeScope = (default)null
  allowMissingPropertyJavadoc = (default)false
  ignoreMethodNamesRegex = (default)null
  tokens = (default)METHOD_DEF , CTOR_DEF , ANNOTATION_FIELD_DEF , COMPACT_CTOR_DEF
  
  
  */
  
  package com.puppycrawl.tools.checkstyle.checks.javadoc.missingjavadocmethod;
  
  /* Config:
   * scope = "private"
   */
  /** Test 1. */
  public class InputMissingJavadocMethod_01 { // ok
  
      /** Do 1.
       * @throws TestException1 when problem occurs.
       */
      public void doStuff1() throws TestException1 {
          try {
              doStuff2();
          } catch (final TestException2 e) { }
          throw new InputMissingJavadocMethod_01().new TestException1("");
      }
      /** Do 2.
       * @throws TestException2 when problem occurs.
       */
      private static void doStuff2() throws TestException2 {
          throw new TestException2("");
      }
      /** Exception 1.
       */
      class TestException1 extends Exception {
          /** Exception 1.
           * @param messg message
           */
          TestException1(String messg) {
              super(messg);
          }
      }
      /** Exception 2.
       */
      public static class TestException2 extends Exception {
          /** Exception 2.
           * @param messg message
           */
          TestException2(String messg) {
              super(messg);
          }
      }
  }
  