![]() |
Deskflow 1.24.0.365
Keyboard and mouse sharing utility
|
Exception base class. More...
#include <BaseException.h>


Public Member Functions | |
| BaseException () | |
| Use getWhat() as the result of what(). | |
| BaseException (const std::string &msg) | |
Use msg as the result of what(). | |
| ~BaseException () 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 BadClientException, deskflow::server::ServerConfigReadException, DuplicateClientException, ExitAppException, IncompatibleClientException, InvalidProtocolException, IOClosedException, IOEndOfStreamException, IOWouldBlockException, MTThreadUnavailableException, ScreenOpenFailureException, ScreenUnavailableException, SocketAddressException, SocketAddressInUseException, SocketBindException, SocketConnectException, SocketCreateException, SocketIOCloseException, UnknownClientException, and XIOReadMismatch.
|
override | ||||||||||||
Reason for exception.