1.1 --- a/lemon/graph_to_eps.h Tue Sep 30 20:53:18 2008 +0200
1.2 +++ b/lemon/graph_to_eps.h Wed Oct 01 11:58:03 2008 +0200
1.3 @@ -1170,7 +1170,7 @@
1.4 std::ostream* os = new std::ofstream(file_name);
1.5 if (!(*os)) {
1.6 delete os;
1.7 - throw IoError(file_name, "Cannot write file");
1.8 + throw IoError("Cannot write file", file_name);
1.9 }
1.10 return GraphToEps<DefaultGraphToEpsTraits<G> >
1.11 (DefaultGraphToEpsTraits<G>(g,*os,true));
1.12 @@ -1191,7 +1191,7 @@
1.13 std::ostream* os = new std::ofstream(file_name.c_str());
1.14 if (!(*os)) {
1.15 delete os;
1.16 - throw IoError(file_name, "Cannot write file");
1.17 + throw IoError("Cannot write file", file_name);
1.18 }
1.19 return GraphToEps<DefaultGraphToEpsTraits<G> >
1.20 (DefaultGraphToEpsTraits<G>(g,*os,true));