throws 절에서 적절하지 않은 예외를 선언하는 메서드를 보고합니다. 예를 들어, java.lang.Exception 또는 java.lang.Throwable과 같이 지나치게 일반적인 예외는 적절하지 않을 수 있습니다.

예:


  void describeModule(String module) throws Exception {} // 경고: 금지된 예외 'Exception'이 선언되었습니다

검사 구성: