Allow declaring subclasses in exceptions. The eclipse plugin for checkstyle sometimes flagged this as errors. Since we have decided to be explicit in the Javadoc, we have to allow it.