diff options
author | Pierre Ossman <ossman@cendio.se> | 2014-10-10 13:37:35 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2014-10-10 13:37:35 +0200 |
commit | d1a853bca7a70467915b3759aa9de5e63a5e8edb (patch) | |
tree | 5bcb8ba3e2095e27b45eca447ca4e933661e6647 /vncviewer/DesktopWindow.h | |
parent | 86750633ff7c5d8836b751148234ab94e132b0a5 (diff) | |
download | tigervnc-d1a853bca7a70467915b3759aa9de5e63a5e8edb.tar.gz tigervnc-d1a853bca7a70467915b3759aa9de5e63a5e8edb.zip |
Use exceptions rather than asserts for for "normal" errors
Although these are rare, they are still not indicative of bugs so
an exception (which ends up in the log and might also be shown to
the user) is more appropriate than an assert. Asserts should only
be used to catch blatant API misuse and similar.
Diffstat (limited to 'vncviewer/DesktopWindow.h')
0 files changed, 0 insertions, 0 deletions