aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/MsgWindow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'win/rfb_win32/MsgWindow.cxx')
-rw-r--r--win/rfb_win32/MsgWindow.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/rfb_win32/MsgWindow.cxx b/win/rfb_win32/MsgWindow.cxx
index 30c9373e..e94b60a8 100644
--- a/win/rfb_win32/MsgWindow.cxx
+++ b/win/rfb_win32/MsgWindow.cxx
@@ -82,7 +82,7 @@ MsgWindowClass::MsgWindowClass() : classAtom(0) {
wndClass.lpszClassName = "rfb::win32::MsgWindowClass";
classAtom = RegisterClass(&wndClass);
if (!classAtom) {
- throw rdr::SystemException("unable to register MsgWindow window class", GetLastError());
+ throw rdr::Win32Exception("unable to register MsgWindow window class", GetLastError());
}
}
@@ -104,7 +104,7 @@ MsgWindow::MsgWindow(const char* name_) : name(name_), handle(nullptr) {
name.c_str(), WS_OVERLAPPED, 0, 0, 10, 10,
nullptr, nullptr, baseClass.instance, this);
if (!handle) {
- throw rdr::SystemException("unable to create WMNotifier window instance", GetLastError());
+ throw rdr::Win32Exception("unable to create WMNotifier window instance", GetLastError());
}
vlog.debug("created window \"%s\" (%p)", name.c_str(), handle);
}