Checkstyle Reporting Custom Exception Errors

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

1
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</p>

1
RedundantThrows

</a>. That solved the problem.