Deskflow 1.22.0.197
Keyboard and mouse sharing utility
|
Screen unavailable exception. More...
#include <XScreen.h>
Public Member Functions | |
XScreenUnavailable (double timeUntilRetry) | |
~XScreenUnavailable () override throw () =default | |
Public Member Functions inherited from XBase | |
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. |
manipulators | |
double | getRetryTime () const |
Get retry time. | |
std::string | getWhat () const override throw () |
Get a human readable string describing the exception. |
Additional Inherited Members | |
Protected Member Functions inherited from XBase | |
virtual std::string | format (const char *id, const char *defaultFormat,...) const noexcept |
Format a string. |
Screen unavailable exception.
Thrown when a screen cannot be opened or initialized but retrying later may be successful.
|
explicit |
timeUntilRetry
is the suggested time the caller should wait until trying to open the screen again.
|
overridedefault |
double XScreenUnavailable::getRetryTime | ( | ) | const |
Get retry time.
Returns the suggested time to wait until retrying to open the screen.
|
overrideprotectedvirtual |
Get a human readable string describing the exception.
Reimplemented from XScreenOpenFailure.