shape plugin: be more explicit about the shapefile name if the file is not found

This commit is contained in:
Dane Springmeyer 2010-01-26 22:57:34 +00:00
parent 52d08e7d1a
commit ba187a4949

View file

@ -66,7 +66,7 @@ shape_datasource::shape_datasource(const parameters &params)
if (!boost::filesystem::exists(shape_name_ + ".shp"))
{
throw datasource_exception(shape_name_ + " does not exist");
throw datasource_exception("shapefile '" + shape_name_ + ".shp' does not exist");
}
try