aboutsummaryrefslogtreecommitdiffstats
path: root/common/rdr/TLSException.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'common/rdr/TLSException.cxx')
-rw-r--r--common/rdr/TLSException.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/rdr/TLSException.cxx b/common/rdr/TLSException.cxx
index df2701d3..7061f38b 100644
--- a/common/rdr/TLSException.cxx
+++ b/common/rdr/TLSException.cxx
@@ -36,7 +36,8 @@ using namespace rdr;
#ifdef HAVE_GNUTLS
TLSException::TLSException(const char* s, int err_)
- : Exception(rfb::format("%s: %s (%d)", s, gnutls_strerror(err_), err_)),
+ : std::runtime_error(rfb::format("%s: %s (%d)", s,
+ gnutls_strerror(err_), err_)),
err(err_)
{
}