Fix exception warning.