Remove useless throw declaration.