Improve expected exception cause error messages