Add throws javadoc comments.