Added a missing throws annotation