Fix overriding exception specification

Change-Id: I6eb46f1ffccc1d98b1a1485486cbc355ce296cd3