aboutsummaryrefslogtreecommitdiffstats
path: root/win/winvnc/winvnc.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2024-09-03 07:31:15 +0200
committerPierre Ossman <ossman@cendio.se>2024-11-06 21:06:27 +0100
commit9e9083cbedc0e98a03a0da370dd49375dc1cdc91 (patch)
tree3b094052cd0d4941e8a554ad3b04ec19c0d3f0c3 /win/winvnc/winvnc.cxx
parentf25de739ea359c2843a596457bcd22a28175b7a4 (diff)
downloadtigervnc-9e9083cbedc0e98a03a0da370dd49375dc1cdc91.tar.gz
tigervnc-9e9083cbedc0e98a03a0da370dd49375dc1cdc91.zip
Subclass exceptions from std::exception
Make sure our exceptions are part of the standard exception class hierarchy.
Diffstat (limited to 'win/winvnc/winvnc.cxx')
-rw-r--r--win/winvnc/winvnc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/winvnc/winvnc.cxx b/win/winvnc/winvnc.cxx
index e6f8abe7..25e6875f 100644
--- a/win/winvnc/winvnc.cxx
+++ b/win/winvnc/winvnc.cxx
@@ -228,7 +228,7 @@ static void processParams(int argc, char** argv) {
break;
}
- } catch (rdr::Exception& e) {
+ } catch (std::exception& e) {
MsgBoxOrLog(e.what(), true);
}
}
@@ -284,7 +284,7 @@ int WINAPI WinMain(HINSTANCE /*inst*/, HINSTANCE /*prevInst*/, char* /*cmdLine*/
}
vlog.debug("WinVNC service destroyed");
- } catch (rdr::Exception& e) {
+ } catch (std::exception& e) {
MsgBoxOrLog(e.what(), true);
}
option> Apache Archiva Repository: https://github.com/apache/archivawww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-docs/src/site/apt/release-notes.apt.vm
blob: 6eecfd01261d0b74b182e8c5007b899c079b3bb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107