Deskflow 1.24.0.365
Keyboard and mouse sharing utility
Loading...
Searching...
No Matches
MTException.h
Go to the documentation of this file.
1/*
2 * Deskflow -- mouse and keyboard sharing utility
3 * SPDX-FileCopyrightText: (C) 2025 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 MTException : public BaseException
17{
19};
20
25{
26 using MTException::MTException;
27
28protected:
29 std::string getWhat() const throw() override;
30};
BaseException()
Use getWhat() as the result of what().
Definition BaseException.cpp:18
MTException generic multithreading exception.
Definition MTException.h:17
MTThreadUnavailableException - Thrown when a thread cannot be created.
Definition MTException.h:25
std::string getWhat() const override
Get a human readable string describing the exception.
Definition MTException.cpp:15