Add missing throws declaration