Make exception error message clearer