Details
Description
public class A { public A() throws IllegalAccessException { throw new IllegalAccessException(); } } public class B extends A { public B(String a) throws IllegalAccessException { // false positive raised because no method raising this exception is found in the body, the implicit call is not taken into consideration by the rule. // implicit call super constructor System.out.println(a); } }
Attachments
Issue Links
- is related to
-
RSPEC-1130 "throws" declarations should not be superfluous
- Active
- links to