generalized a caught exception