summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/windows/Path.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2013-12-05 22:11:31 +0000
committerAlan Conway <aconway@apache.org>2013-12-05 22:11:31 +0000
commit66e9d113f8b9d35e82408a538fdaa75cad90660a (patch)
tree6636bdeaf155f308a1c41771226efe04fc5d6ab1 /cpp/src/qpid/sys/windows/Path.cpp
parentad246c1d855b619604233f579ca6515899eacc02 (diff)
downloadqpid-python-66e9d113f8b9d35e82408a538fdaa75cad90660a.tar.gz
QPID-5398: Minor improvement to log message.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1548317 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/windows/Path.cpp')
-rw-r--r--cpp/src/qpid/sys/windows/Path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/sys/windows/Path.cpp b/cpp/src/qpid/sys/windows/Path.cpp
index ce04bb17fd..abcaee2574 100644
--- a/cpp/src/qpid/sys/windows/Path.cpp
+++ b/cpp/src/qpid/sys/windows/Path.cpp
@@ -38,7 +38,7 @@ namespace {
bool getStat(const std::string& path, struct _stat& s) {
if (::_stat(path.c_str(), &s)) {
if (errno == ENOENT) return false;
- throw qpid::Exception (strError(errno) + ": Invalid path: " + path);
+ throw qpid::Exception("cannot stat: " + path + ": " + strError(errno))
}
return true;
}