![]() |
Deskflow 1.24.0.365
Keyboard and mouse sharing utility
|
Generic exit eception. More...
#include <DeskflowException.h>


Public Member Functions | |
| ExitAppException (int code) | |
| ~ExitAppException () override throw () =default | |
| int | getCode () const noexcept |
| Get the exit code. | |
| Public Member Functions inherited from BaseException | |
| 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 | |
| std::string | getWhat () const override throw () |
| Get a human readable string describing the exception. | |
| Protected Member Functions inherited from BaseException | |
| virtual std::string | format (const char *id, const char *defaultFormat,...) const noexcept |
| Format a string. | |
Generic exit eception.
Thrown when we want to abort, with the opportunity to clean up. This is a little bit of a hack, but it's a better way of exiting, than just calling exit(int).
|
explicit |
|
overridedefault | ||||||||||||
|
noexcept |
Get the exit code.
|
overrideprotectedvirtual | ||||||||||||
Get a human readable string describing the exception.
Reimplemented from BaseException.