Added exceptions to the documentation that may throw an exception.