Fixed missing information about exceptions in docstrings.