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

Configuration stream read exception. More...

#include <Config.h>

Inheritance diagram for deskflow::server::XConfigRead:
Collaboration diagram for deskflow::server::XConfigRead:

Public Member Functions

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

Protected Member Functions

std::string getWhat () const override throw ()
 Get a human readable string describing the exception.
Protected Member Functions inherited from XBase
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

◆ XConfigRead() [1/2]

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

◆ XConfigRead() [2/2]

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

◆ ~XConfigRead()

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

Member Function Documentation

◆ getWhat()

std::string deskflow::server::XConfigRead::getWhat ( ) const
throw ( )
overrideprotectedvirtual

Get a human readable string describing the exception.

Reimplemented from XBase.


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