add missing throws declaration