From 6b9a3a534071ef84c121c406559f8fc7ad546104 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Fri, 11 Dec 2015 09:42:06 -0500 Subject: Reroot the exception hierarchy into a toplevel Exception class As the alternatives are unfortunate for applications trying to catch all library errors, and it seems deriving from std::runtime_error causes problems with MSVC DLLs (GH #340) Effectively reverts 2837e915d82e43 --- src/lib/tls/tls_ciphersuite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/tls/tls_ciphersuite.cpp') diff --git a/src/lib/tls/tls_ciphersuite.cpp b/src/lib/tls/tls_ciphersuite.cpp index 4fdf33811..d14376bdd 100644 --- a/src/lib/tls/tls_ciphersuite.cpp +++ b/src/lib/tls/tls_ciphersuite.cpp @@ -208,7 +208,7 @@ bool Ciphersuite::valid() const std::string Ciphersuite::to_string() const { if(m_cipher_keylen == 0) - throw std::runtime_error("Ciphersuite::to_string - no value set"); + throw Exception("Ciphersuite::to_string - no value set"); std::ostringstream out; -- cgit v1.2.3