Deskflow
1.27.0.7
Keyboard and mouse sharing utility
Toggle main menu visibility
Loading...
Searching...
No Matches
DisplayException.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
DisplayException
:
public
BaseException
17
{
18
using
BaseException::BaseException
;
19
};
20
24
class
DisplayOpenFailureException
:
public
DisplayException
25
{
26
using
DisplayException::DisplayException;
27
28
protected
:
29
QString
getWhat
()
const
throw
()
override
;
30
};
31
33
37
class
X11DisplayUnavailableException
:
public
DisplayOpenFailureException
38
{
39
public
:
40
~X11DisplayUnavailableException
() 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
DisplayException
The DisplayException class, generic screen exception.
Definition
DisplayException.h:17
DisplayOpenFailureException
DisplayOpenFailureException - Thrown when a computer cannot be opened or initialized.
Definition
DisplayException.h:25
DisplayOpenFailureException::getWhat
QString getWhat() const override
Get a human readable string describing the exception.
Definition
DisplayException.cpp:15
X11DisplayUnavailableException
X11 Display unavailable exception.
Definition
DisplayException.h:38
X11DisplayUnavailableException::~X11DisplayUnavailableException
~X11DisplayUnavailableException() override=default
X11DisplayUnavailableException::getWhat
QString getWhat() const override
Get a human readable string describing the exception.
Definition
DisplayException.cpp:24
src
lib
deskflow
DisplayException.h
Generated by
1.18.0