modified instrumentor so that it does not print thrown exceptions.