Improved javadoc for exceptions