Deskflow 1.24.0.365
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
deskflow::server::ServerConfigReadException Class Reference

Configuration stream read exception. More...

#include <Config.h>

Inheritance diagram for deskflow::server::ServerConfigReadException:
Collaboration diagram for deskflow::server::ServerConfigReadException:

Public Member Functions

 ServerConfigReadException (const ConfigReadContext &context, const std::string &)
 ServerConfigReadException (const ConfigReadContext &context, const char *errorFmt, const std::string &arg)
 ~ServerConfigReadException () override throw () =default
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.

Detailed Description

Configuration stream read exception.

Thrown when a configuration stream cannot be parsed.

Constructor & Destructor Documentation

◆ ServerConfigReadException() [1/2]

deskflow::server::ServerConfigReadException::ServerConfigReadException ( const ConfigReadContext & context,
const std::string & error )

◆ ServerConfigReadException() [2/2]

deskflow::server::ServerConfigReadException::ServerConfigReadException ( const ConfigReadContext & context,
const char * errorFmt,
const std::string & arg )

◆ ~ServerConfigReadException()

deskflow::server::ServerConfigReadException::~ServerConfigReadException ( )
throw ( )
overridedefault

Member Function Documentation

◆ getWhat()

std::string deskflow::server::ServerConfigReadException::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: