Add @throws doxygen.