Changeset View
Changeset View
Standalone View
Standalone View
src/exception.cpp
1 | /* -*- C++ -*- | 1 | /* -*- C++ -*- | ||
---|---|---|---|---|---|
2 | | ||||
3 | Base class for exceptions in ThreadWeaver. | 2 | Base class for exceptions in ThreadWeaver. | ||
4 | 3 | | |||
5 | $ Author: Mirko Boehm $ | 4 | SPDX-FileCopyrightText: 2005-2013 Mirko Boehm <mirko@kde.org> | ||
6 | $ Copyright: (C) 2005-2013 Mirko Boehm $ | | |||
7 | $ Contact: mirko@kde.org | | |||
8 | https://www.kde.org | | |||
9 | http://creative-destruction.me $ | | |||
10 | | ||||
11 | This library is free software; you can redistribute it and/or | | |||
12 | modify it under the terms of the GNU Library General Public | | |||
13 | License as published by the Free Software Foundation; either | | |||
14 | version 2 of the License, or (at your option) any later version. | | |||
15 | | ||||
16 | This library is distributed in the hope that it will be useful, | | |||
17 | but WITHOUT ANY WARRANTY; without even the implied warranty of | | |||
18 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | |||
19 | Library General Public License for more details. | | |||
20 | | ||||
21 | You should have received a copy of the GNU Library General Public License | | |||
22 | along with this library; see the file COPYING.LIB. If not, write to | | |||
23 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | | |||
24 | Boston, MA 02110-1301, USA. | | |||
25 | */ | | |||
26 | 5 | | |||
6 | SPDX-License-Identifier: LGPL-2.0-or-later | ||||
7 | */ | ||||
27 | 8 | | |||
28 | #include "exception.h" | 9 | #include "exception.h" | ||
29 | 10 | | |||
30 | namespace ThreadWeaver | 11 | namespace ThreadWeaver | ||
31 | { | 12 | { | ||
32 | 13 | | |||
33 | Exception::Exception(const QString &message) | 14 | Exception::Exception(const QString &message) | ||
34 | : std::runtime_error(message.toStdString()) | 15 | : std::runtime_error(message.toStdString()) | ||
Show All 27 Lines |