blob: 2b95c81ac869b0be551b062f477c80e5b6b73762 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright (C) 2016 Jochen Becher
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#include "exceptions.h"
#include "../../modelinglibtr.h"
namespace qmt {
Exception::Exception(const QString &errorMessage)
: m_errorMessage(errorMessage)
{
}
NullPointerException::NullPointerException()
: Exception(Tr::tr("Unacceptable null object."))
{
}
} // namespace qmt
|