Added a missing exception to the method signature.