remove unnecessary throws declaration #3790