Main Contents

Checkstyle Reporting Custom Exception Errors

software development

For a while now I’ve seen the following error show up in our Checkstyle reports:

java.lang.RuntimeException: Unable to get class information for DataAccessException

There was a pattern to this where any custom exception couldn’t be looked up. After about 30 minutes of googling about usually just finding people’s checkstyle reports I came across the suggestion to take out RedundantThrows. That solved the problem.

Ed Gibbs @ December 22, 2005

3 Comments

  1. Darren January 8, 2007 @ 10:38 am

    thanks for this, I did a lot of googling too, but found this post. it was a big help.

  2. Ed Gibbs January 15, 2007 @ 8:40 am

    Glad to be of help, figured if I wasted 30 minutes on it other people had too.

Leave a comment


Feed