aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/SecurityServer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/SecurityServer.cxx')
-rw-r--r--common/rfb/SecurityServer.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/rfb/SecurityServer.cxx b/common/rfb/SecurityServer.cxx
index b5297736..d692f4fc 100644
--- a/common/rfb/SecurityServer.cxx
+++ b/common/rfb/SecurityServer.cxx
@@ -21,7 +21,6 @@
#include <config.h>
#endif
-#include <rfb/Exception.h>
#include <rfb/Security.h>
#include <rfb/SSecurityNone.h>
#include <rfb/SSecurityStack.h>
@@ -90,6 +89,6 @@ SSecurity* SecurityServer::GetSSecurity(SConnection* sc, uint32_t secType)
}
bail:
- throw Exception("Security type not supported");
+ throw std::invalid_argument("Security type not supported");
}