Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#155 allowThrowsTagsForSubclasses/allowMissingThrowsTag interfere

release_3.2
closed
5
2012-10-10
2003-09-10
No

Setting JavadocMethod allowThrowsTagsForSubclasses to true
circumvents the check specified by JavadocMethod
allowMissingThrowsTag being set to false if a @throws is included
for a subclass of the declared exception.

Setting allowThrowsTagsForSubclasses to true and
allowMissingThrowsTag to false results in the following code
passing with no style failures.
The expectation is that it would fail because of the missing
@throws tag for Exception.

/*
@throws IOException because I want to
/
public void testMethod() throws RemoteException {
//blah
}

Discussion

  • Logged In: YES
    user_id=863158

    Jeez, change throws RemoteException to plain old throws Exception.

     
  • Logged In: YES
    user_id=746148

    Fix committed in CVS for 3.2