Improve exception error message.