aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/WMPoller.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'win/rfb_win32/WMPoller.cxx')
-rw-r--r--win/rfb_win32/WMPoller.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rfb_win32/WMPoller.cxx b/win/rfb_win32/WMPoller.cxx
index 1e29d0c6..2c5917e9 100644
--- a/win/rfb_win32/WMPoller.cxx
+++ b/win/rfb_win32/WMPoller.cxx
@@ -57,7 +57,7 @@ bool
rfb::win32::WMPoller::checkPollWindow(HWND w) {
char buffer[128];
if (!GetClassName(w, buffer, 128))
- throw rdr::SystemException("unable to get window class:%u", GetLastError());
+ throw rdr::Win32Exception("unable to get window class:%u", GetLastError());
if ((strcmp(buffer, "tty") != 0) &&
(strcmp(buffer, "ConsoleWindowClass") != 0)) {
return false;