Handle exceptions when getting get methods.