BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
DeserializationException.h
Go to the documentation of this file.
1
// ************************************************************************************************
2
//
3
// BornAgain: simulate and fit reflection and scattering
4
//
5
//! @file GUI/Util/DeserializationException.h
6
//! @brief Defines class DeserializationException
7
//!
8
//! @homepage http://www.bornagainproject.org
9
//! @license GNU General Public License v3 or higher (see COPYING)
10
//! @copyright Forschungszentrum Jülich GmbH 2021
11
//! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12
//
13
// ************************************************************************************************
14
15
#ifndef BORNAGAIN_GUI_UTIL_DESERIALIZATIONEXCEPTION_H
16
#define BORNAGAIN_GUI_UTIL_DESERIALIZATIONEXCEPTION_H
17
18
#include <QString>
19
20
class
DeserializationException
{
21
private
:
22
DeserializationException
(QString t);
23
24
public
:
25
static
DeserializationException
tooOld
();
26
static
DeserializationException
tooNew
();
27
static
DeserializationException
streamError
();
28
29
QString
text
()
const
;
30
31
private
:
32
QString
m_text
;
33
};
34
35
#endif
// BORNAGAIN_GUI_UTIL_DESERIALIZATIONEXCEPTION_H
DeserializationException
Definition:
DeserializationException.h:20
DeserializationException::streamError
static DeserializationException streamError()
Definition:
DeserializationException.cpp:34
DeserializationException::m_text
QString m_text
Definition:
DeserializationException.h:32
DeserializationException::tooOld
static DeserializationException tooOld()
Definition:
DeserializationException.cpp:24
DeserializationException::tooNew
static DeserializationException tooNew()
Definition:
DeserializationException.cpp:29
DeserializationException::DeserializationException
DeserializationException(QString t)
Definition:
DeserializationException.cpp:19
DeserializationException::text
QString text() const
Definition:
DeserializationException.cpp:39
GUI
Util
DeserializationException.h
Generated by
1.9.1