Deskflow 1.22.0.197
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
XArch.h File Reference
#include "common/Common.h"
#include <stdexcept>
#include <string>
Include dependency graph for XArch.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  XThread
 Generic thread exception. More...
class  XThreadCancel
 Thread exception to cancel. More...
class  XArchNetwork
 Generic network exception. More...
class  XArchNetworkInterrupted
 Operation was interrupted. More...
class  XArchNetworkAccess
 Network insufficient permission. More...
class  XArchNetworkResource
 Network insufficient resources. More...
class  XArchNetworkSupport
 No support for requested network resource/service. More...
class  XArchNetworkIO
 Network I/O error. More...
class  XArchNetworkNoAddress
 Network address is unavailable or not local. More...
class  XArchNetworkAddressInUse
 Network address in use. More...
class  XArchNetworkNoRoute
 No route to address. More...
class  XArchNetworkNotConnected
 Socket not connected. More...
class  XArchNetworkShutdown
 Remote read end of socket has closed. More...
class  XArchNetworkDisconnected
 Remote end of socket has disconnected. More...
class  XArchNetworkConnectionRefused
 Remote end of socket refused connection. More...
class  XArchNetworkTimedOut
 Remote end of socket is not responding. More...
class  XArchNetworkName
 Generic network name lookup erros. More...
class  XArchNetworkNameUnknown
 The named host is unknown. More...
class  XArchNetworkNameNoAddress
 The named host is known but has no address. More...
class  XArchNetworkNameFailure
 Non-recoverable name server error. More...
class  XArchNetworkNameUnavailable
 Temporary name server error. More...
class  XArchNetworkNameUnsupported
 The named host is known but no supported address. More...
class  XArchDaemon
 Generic daemon exception. More...
class  XArchDaemonFailed
 Could not daemonize. More...
class  XArchDaemonInstallFailed
 Could not install daemon. More...
class  XArchDaemonUninstallFailed
 Could not uninstall daemon. More...
class  XArchDaemonUninstallNotInstalled
 Attempted to uninstall a daemon that was not installed. More...

Macros

#define RETHROW_XTHREAD

Macro Definition Documentation

◆ RETHROW_XTHREAD

#define RETHROW_XTHREAD
Value:
try { \
throw; \
} catch (XThread &) { \
throw; \
} catch (...) { \
}
Generic thread exception.
Definition XArch.h:23

Convenience macro to rethrow an XThread exception but ignore other exceptions. Put this in your catch (...) handler after necessary cleanup but before leaving or returning from the handler.