26 using DeskflowException::DeskflowException;
29 std::string
getWhat()
const throw()
override;
37 using DeskflowException::DeskflowException;
40 std::string
getWhat()
const throw()
override;
63 std::string
getWhat()
const throw()
override;
85 virtual const
std::
string &
getName() const noexcept;
111 virtual const
std::
string &
getName() const noexcept;
static const struct sockaddr FAR * name
Definition ArchNetworkWinsock.cpp:28
BadClientException - Thrown when the client fails to follow the protocol.
Definition DeskflowException.h:25
std::string getWhat() const override
Get a human readable string describing the exception.
Definition DeskflowException.cpp:16
BaseException()
Use getWhat() as the result of what().
Definition BaseException.cpp:18
The DeskflowException class Generic deskflow exception class.
Definition DeskflowException.h:17
~DuplicateClientException() override=default
std::string getWhat() const override
Get a human readable string describing the exception.
Definition DeskflowException.cpp:73
DuplicateClientException(const std::string &name)
Definition DeskflowException.cpp:63
virtual const std::string & getName() const noexcept
Get client's name.
Definition DeskflowException.cpp:68
int getCode() const noexcept
Get the exit code.
Definition DeskflowException.cpp:106
~ExitAppException() override=default
ExitAppException(int code)
Definition DeskflowException.cpp:101
std::string getWhat() const override
Get a human readable string describing the exception.
Definition DeskflowException.cpp:111
int getMajor() const noexcept
Get client's major version number.
Definition DeskflowException.cpp:41
IncompatibleClientException(int major, int minor)
Definition DeskflowException.cpp:36
int getMinor() const noexcept
Get client's minor version number.
Definition DeskflowException.cpp:46
std::string getWhat() const override
Get a human readable string describing the exception.
Definition DeskflowException.cpp:51
InvalidProtocolException - Thrown when the server protocol is unreconized.
Definition DeskflowException.h:36
std::string getWhat() const override
Get a human readable string describing the exception.
Definition DeskflowException.cpp:25
std::string getWhat() const override
Get a human readable string describing the exception.
Definition DeskflowException.cpp:92
~UnknownClientException() override=default
UnknownClientException(const std::string &name)
Definition DeskflowException.cpp:82
virtual const std::string & getName() const noexcept
Get the client's name.
Definition DeskflowException.cpp:87