Deskflow 1.22.0.197
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
DisplayInvalidException.h
Go to the documentation of this file.
1/*
2 * Deskflow -- mouse and keyboard sharing utility
3 * SPDX-FileCopyrightText: (C) 2012 - 2018 Symless Ltd.
4 * SPDX-FileCopyrightText: (C) 2002 Chris Schoeneman
5 * SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
6 */
7#pragma once
8
9#include <stdexcept>
10#include <string>
11
12class DisplayInvalidException : public std::runtime_error
13{
14public:
15 explicit DisplayInvalidException(const char *msg) : std::runtime_error(msg)
16 {
17 // do nothing
18 }
19
20 explicit DisplayInvalidException(const std::string &msg) : std::runtime_error(msg)
21 {
22 // do nothing
23 }
24};
DisplayInvalidException(const std::string &msg)
Definition DisplayInvalidException.h:20
DisplayInvalidException(const char *msg)
Definition DisplayInvalidException.h:15
Definition Config.h:29