logo       

[ checkstyle-Bugs-1675634 ] Checkstyle doesn't found exceptions from superc: msg#00242

Subject: [ checkstyle-Bugs-1675634 ] Checkstyle doesn't found exceptions from superclasses
Bugs item #1675634, was opened at 2007-03-07 11:19
Message generated for change (Comment added) made by mperham
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397078&aid=1675634&group_id=29721

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core Framework
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Niels Stargardt (ppi_nst)
Assigned to: Oliver Burn (oburn)
Summary: Checkstyle doesn't found exceptions from superclasses

Initial Comment:
I get a checkstyle error, when I use the check "JavadocMethod". The error says 
that the class-information for an exception couldn't be found. Is use the 
current version 4.3
The error occurs if you have a class a.ClassWithExceptions which has a
protected static innerclass MyException.

If you use this in a subclass b.ClassWithCheckstyleProblem you will get the
problem.

I attached a ziped eclipse-project which demonstrate the error. You could unzip 
it and call on commandline

java com.puppycrawl.tools.checkstyle.Main -c check_config.xml -r src

Best regards
Niels Stargardt

----------------------------------------------------------------------

Comment By: Mike Perham (mperham)
Date: 2007-07-09 14:40

Message:
Logged In: YES 
user_id=3114
Originator: NO

We are seeing this also.  It makes 4.3 unusable for us.  4.1 does not seem
to have this problem.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397078&aid=1675634&group_id=29721

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/


<Prev in Thread] Current Thread [Next in Thread>