Updates javadoc with the new exception.