Deskflow
1.26.0.418
Keyboard and mouse sharing utility
Toggle main menu visibility
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 Synergy App 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
16
class
ScreenException
:
public
BaseException
17
{
18
using
BaseException::BaseException
;
19
};
20
24
class
ScreenOpenFailureException
:
public
ScreenException
25
{
26
using
ScreenException::ScreenException;
27
28
protected
:
29
QString
getWhat
()
const
throw
()
override
;
30
};
31
33
37
class
ScreenUnavailableException
:
public
ScreenOpenFailureException
38
{
39
public
:
40
~ScreenUnavailableException
() throw() override = default;
41
43
44
protected:
45
QString
getWhat
() const throw() override;
46
};
BaseException.h
BaseException::BaseException
BaseException()
Use getWhat() as the result of what().
Definition
BaseException.cpp:18
ScreenException
The ScreenException class, generic screen exception.
Definition
ScreenException.h:17
ScreenOpenFailureException
ScreenOpenFailureException - Thrown when a screen cannot be opened or initialized.
Definition
ScreenException.h:25
ScreenOpenFailureException::getWhat
QString getWhat() const override
Get a human readable string describing the exception.
Definition
ScreenException.cpp:15
ScreenUnavailableException
Screen unavailable exception.
Definition
ScreenException.h:38
ScreenUnavailableException::~ScreenUnavailableException
~ScreenUnavailableException() override=default
ScreenUnavailableException::getWhat
QString getWhat() const override
Get a human readable string describing the exception.
Definition
ScreenException.cpp:24
src
lib
deskflow
ScreenException.h
Generated by
1.18.0