[ 
http://jira.codehaus.org/browse/MPCHECKSTYLE-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=143868#action_143868
 ] 

Seth Gottlieb commented on MPCHECKSTYLE-20:
-------------------------------------------

I have had this problem (using Ant) too and setting the path did not fix.  It 
appears that the issue is that it cannot handle multiple @throws.  I had 
@throws ServletException, IOException.  When I changed it to just 
ServletException it worked fine.  The major hint for me was that the error 
message had a comma on the end: 'Unable to get class information for @throws 
tag 'javax.servlet.ServletException,'

> Unable to get class information for custom exceptions
> -----------------------------------------------------
>
>                 Key: MPCHECKSTYLE-20
>                 URL: http://jira.codehaus.org/browse/MPCHECKSTYLE-20
>             Project: Maven 1.x Checkstyle Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3
>         Environment: maven-1.0-rc2
>            Reporter: Ryan Sonnek
>
> checkstyle reports an error "Unable to get class information" for custom 
> exceptions within the same project.  it is able to load exceptions that are 
> listed as dependencies for the project, but not for other exceptions.  one 
> workaround is to only use throws Exception in the signiture, but that's 
> really a hack.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to