summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/apr/APRBase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/apr/APRBase.cpp')
-rw-r--r--cpp/src/qpid/apr/APRBase.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/apr/APRBase.cpp b/cpp/src/qpid/apr/APRBase.cpp
index c3dbda3df0..7a35f098ec 100644
--- a/cpp/src/qpid/apr/APRBase.cpp
+++ b/cpp/src/qpid/apr/APRBase.cpp
@@ -87,7 +87,8 @@ void qpid::sys::check(apr_status_t status, const std::string& file, const int li
const int size = 50;
char tmp[size];
std::string msg(apr_strerror(status, tmp, size));
- throw QpidError(APR_ERROR + ((int) status), msg, file, line);
+ throw QpidError(APR_ERROR + ((int) status), msg,
+ qpid::SrcLine(file, line));
}
}