Add missing 'throws' declaration.