summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorArne H Juul <arnej27959@users.noreply.github.com>2021-06-07 23:10:18 +0200
committerGitHub <noreply@github.com>2021-06-07 23:10:18 +0200
commit429ff98c842a124515f66b8bcdaf0c5f64c678e9 (patch)
tree99d73b2f7810d005ff29f5db78685290fc3292f3 /vespalib
parent4ffd09f5678559a5f71d3957514f1d52c61e88f0 (diff)
parenta402fb4fab902b9f8c9a8859b1142e436bf439e3 (diff)
Merge pull request #18132 from vespa-engine/arnej/actually-wait-for-connectivity
Arnej/actually wait for connectivity
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/util/exception.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vespalib/src/vespa/vespalib/util/exception.h b/vespalib/src/vespa/vespalib/util/exception.h
index 097ecc131c7..6fb53c035eb 100644
--- a/vespalib/src/vespa/vespalib/util/exception.h
+++ b/vespalib/src/vespa/vespalib/util/exception.h
@@ -216,6 +216,9 @@ public:
/** @brief Returns the msg parameter that this Exception was constructed with */
const string &getMessage() const { return _msg; }
+ /** @brief Returns the message string */
+ const char *message() const { return _msg.c_str(); }
+
/** @brief Returns the location parameter that this Exception was constructed with */
const string &getLocation() const { return _location; }