Deskflow 1.22.0.197
Keyboard and mouse sharing utility
|
Exception base class. More...
#include <XBase.h>
Public Member Functions | |
XBase () | |
Use getWhat() as the result of what() | |
XBase (const std::string &msg) | |
Use msg as the result of what() | |
~XBase () override throw () =default | |
const char * | what () const override throw () |
Reason for exception. |
Protected Member Functions | |
virtual std::string | getWhat () const noexcept |
Get a human readable string describing the exception. | |
virtual std::string | format (const char *id, const char *defaultFormat,...) const noexcept |
Format a string. |
Exception base class.
This is the base class of most exception types.
|
explicit |
Use msg
as the result of what()
|
overridedefault |
|
protectedvirtualnoexcept |
Format a string.
Looks up a message format using id
, using defaultFormat
if no format can be found, then replaces positional parameters in the format string and returns the result.
|
inlineprotectedvirtualnoexcept |
Get a human readable string describing the exception.
Reimplemented in deskflow::server::XConfigRead, XBadClient, XDuplicateClient, XExitApp, XIncompatibleClient, XInvalidProtocol, XIOClosed, XIOEndOfStream, XIOReadMismatch, XIOWouldBlock, XMTThreadUnavailable, XScreenOpenFailure, XScreenUnavailable, XSocketAddress, XSocketAddressInUse, XSocketBind, XSocketConnect, XSocketCreate, XSocketIOClose, and XUnknownClient.
|
override |
Reason for exception.