maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maurice le Rutte (JIRA)" <>
Subject [jira] Commented: (MPCHECKSTYLE-20) Unable to get class information for custom exceptions
Date Sun, 13 Aug 2006 13:17:20 GMT
    [ ] 
Maurice le Rutte commented on MPCHECKSTYLE-20:

I have the same problem, but with a single, FQN'ed exception. Works fine in Eclipse 3.2 with
plugin, but fails in Ant.

[checkstyle] Running Checkstyle 4.2 on 11 files
[checkstyle] H:\projects\attic-cards\src\main\com\cuhka\attic\renderer\
Got an exception - java.lang.RuntimeException: Unable to get class information for @throws
tag 'com.cuhka.attic.renderer.RendererFactoryException'.

     * Get the renderer for a figure.
     * @param figureClass figure class to get renderer for
     * @return renderer class
     * @throws com.cuhka.attic.renderer.RendererFactoryException on error 
    public synchronized FigureRenderer getRenderer(Class<? extends Figure> figureClass)
    throws com.cuhka.attic.renderer.RendererFactoryException {

> Unable to get class information for custom exceptions
> -----------------------------------------------------
>                 Key: MPCHECKSTYLE-20
>                 URL:
>             Project: maven-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:
For more information on JIRA, see:


View raw message