alkimia  8.0.3
alkexception.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright 2000-2018 Thomas Baumgart tbaumgart@kde.org *
3  * *
4  * This file is part of libalkimia. *
5  * *
6  * libalkimia is free software; you can redistribute it and/or *
7  * modify it under the terms of the GNU General Public License *
8  * as published by the Free Software Foundation; either version 2.1 of *
9  * the License or (at your option) version 3 or any later version. *
10  * *
11  * libalkimia is distributed in the hope that it will be useful, *
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14  * GNU General Public License for more details. *
15  * *
16  * You should have received a copy of the GNU General Public License *
17  * along with this program. If not, see <http://www.gnu.org/licenses/> *
18  ***************************************************************************/
19 
20 #include "alkexception.h"
21 
22 AlkException::AlkException(const QString &msg, const QString &file, const unsigned long line)
23 {
24  // qDebug("ALKEXCEPTION(%s,%s,%ul)", qPrintable(msg), qPrintable(file), line);
25  m_msg = msg;
26  m_file = file;
27  m_line = line;
28 }
29 
31 {
32 }
const QString & file() const
Definition: alkexception.h:84
unsigned long line() const
Definition: alkexception.h:95
unsigned long m_line
Definition: alkexception.h:114
QString m_msg
Definition: alkexception.h:104
AlkException(const QString &msg, const QString &file, const unsigned long line)
QString m_file
Definition: alkexception.h:109