Remove the declaration of thrown exception