Deskflow 1.24.0.365
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
IncompatibleClientException Class Reference

Incompatible client exception. More...

#include <DeskflowException.h>

Inheritance diagram for IncompatibleClientException:
Collaboration diagram for IncompatibleClientException:

Public Member Functions

 IncompatibleClientException (int major, int minor)
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.

accessors

int getMajor () const noexcept
 Get client's major version number.
int getMinor () const noexcept
 Get client's minor version number.
std::string getWhat () const override throw ()
 Get a human readable string describing the exception.

Additional Inherited Members

Protected Member Functions inherited from BaseException
virtual std::string format (const char *id, const char *defaultFormat,...) const noexcept
 Format a string.

Detailed Description

Incompatible client exception.

Thrown when a client attempting to connect has an incompatible version.

Constructor & Destructor Documentation

◆ IncompatibleClientException()

IncompatibleClientException::IncompatibleClientException ( int major,
int minor )

Member Function Documentation

◆ getMajor()

int IncompatibleClientException::getMajor ( ) const
noexcept

Get client's major version number.

◆ getMinor()

int IncompatibleClientException::getMinor ( ) const
noexcept

Get client's minor version number.

◆ getWhat()

std::string IncompatibleClientException::getWhat ( ) const
throw ( )
overrideprotectedvirtual

Get a human readable string describing the exception.

Reimplemented from BaseException.


The documentation for this class was generated from the following files: