Re: Warning: Redundant throws: 'xxxException' is unchecked exception.

Jeff Mutonho <[email protected]> Wed, 7 Jul 2010 15:39:58 +0200
Newsgroups gmane.comp.java.audit.checkstyle.user
Message-ID <[email protected]>
Anyone out there? Is this a bug that needs to be filed?

On Tue, Jul 6, 2010 at 9:48 AM, Jeff Mutonho <[email protected]> wrote:

> Hi there
>
> I'm running Checkstyle from Ant, using checkstyle-all-5.0.jar  and a
> project specific config file. The check for redundant throws is
> specified as :
>
>         <module name="RedundantThrows">
>             <property name="logLoadErrors" value="true"/>
>             <property name="suppressLoadErrors" value="true"/>
>         </module>
>
> In my code, there are classes that declare a "throws SecurityException" .
> SecurityException extends ApplicationException which directly extends
> java.lang.Exception.
>
> The Checkstyle report is reporting a warning which says :
> "Redundant throws: 'SecurityException' is unchecked exception."
>
> Why is Checkstyle reporting a check exception as being an unchecked one?
>
>
>
>
>

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first

_______________________________________________
Checkstyle-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user