Deskflow 1.26.0.207
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
ScreenException.h
Go to the documentation of this file.
1/*
2 * Deskflow -- mouse and keyboard sharing utility
3 * SPDX-FileCopyrightText: (C) 2025 - 2026 Deskflow Developers
4 * SPDX-FileCopyrightText: (C) 2012 - 2016 Symless Ltd.
5 * SPDX-FileCopyrightText: (C) 2002 Chris Schoeneman
6 * SPDX-License-Identifier: GPL-2.0-only WITH LicenseRef-OpenSSL-Exception
7 */
8
9#pragma once
10
11#include "base/BaseException.h"
12
16class ScreenException : public BaseException
17{
19};
20
25{
26 using ScreenException::ScreenException;
27
28protected:
29 QString getWhat() const throw() override;
30};
31
33
38{
39public:
40 ~ScreenUnavailableException() throw() override = default;
41
43
44protected:
45 QString getWhat() const throw() override;
46};
BaseException()
Use getWhat() as the result of what().
Definition BaseException.cpp:18
The ScreenException class, generic screen exception.
Definition ScreenException.h:17
ScreenOpenFailureException - Thrown when a screen cannot be opened or initialized.
Definition ScreenException.h:25
QString getWhat() const override
Get a human readable string describing the exception.
Definition ScreenException.cpp:15
Screen unavailable exception.
Definition ScreenException.h:38
~ScreenUnavailableException() override=default
QString getWhat() const override
Get a human readable string describing the exception.
Definition ScreenException.cpp:24