projects
/
libcxml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
495a66b
)
Improve error message.
author
Carl Hetherington
<cth@carlh.net>
Tue, 14 Oct 2014 23:57:45 +0000
(
00:57
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 14 Oct 2014 23:57:45 +0000
(
00:57
+0100)
src/cxml.cc
patch
|
blob
|
history
diff --git
a/src/cxml.cc
b/src/cxml.cc
index 810abf81deae977c61ee11944382af10bff5eaf8..2aad081d346bd4bc56e008864501b1c2e9348880 100644
(file)
--- a/
src/cxml.cc
+++ b/
src/cxml.cc
@@
-253,7
+253,7
@@
void
cxml::Document::read_file (filesystem::path file)
{
if (!filesystem::exists (file)) {
- throw cxml::Error ("XML file does not exist");
+ throw cxml::Error ("XML file
" + file.string() + "
does not exist");
}
_parser->parse_file (file.string ());