libpappsomspp
Library for mass spectrometry
exceptioninterrupted.h
Go to the documentation of this file.
1
/**
2
* \file pappsomspp/exception/exceptioninterrupted.h
3
* \date 14/5/2021
4
* \author Olivier Langella
5
* \brief process interrupted exception
6
**/
7
8
/*******************************************************************************
9
* Copyright (c) 2021 Olivier Langella
10
*<Olivier.Langella@universite-paris-saclay.fr>.
11
*
12
* This file is part of the PAPPSOms++ library.
13
*
14
* PAPPSOms++ is free software: you can redistribute it and/or modify
15
* it under the terms of the GNU General Public License as published by
16
* the Free Software Foundation, either version 3 of the License, or
17
* (at your option) any later version.
18
*
19
* PAPPSOms++ is distributed in the hope that it will be useful,
20
* but WITHOUT ANY WARRANTY; without even the implied warranty of
21
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
* GNU General Public License for more details.
23
*
24
* You should have received a copy of the GNU General Public License
25
* along with PAPPSOms++. If not, see <http://www.gnu.org/licenses/>.
26
*
27
******************************************************************************/
28
29
#pragma once
30
31
#include "../pappsoexception.h"
32
33
namespace
pappso
34
{
35
class
ExceptionInterrupted
:
public
PappsoException
36
{
37
public
:
38
ExceptionInterrupted
(
const
QString &message)
throw
()
39
:
PappsoException
(message)
40
{
41
}
42
43
virtual
QException *
44
clone
()
const override
45
{
46
return
new
ExceptionInterrupted
(*
this
);
47
}
48
};
49
}
// namespace pappso
pappso::ExceptionInterrupted
Definition:
exceptioninterrupted.h:36
pappso::ExceptionInterrupted::ExceptionInterrupted
ExceptionInterrupted(const QString &message)
Definition:
exceptioninterrupted.h:38
pappso::ExceptionInterrupted::clone
virtual QException * clone() const override
Definition:
exceptioninterrupted.h:44
pappso::PappsoException
Definition:
pappsoexception.h:42
pappso::PappsoException::PappsoException
PappsoException(const QString &message)
Definition:
pappsoexception.h:44
pappso
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition:
aa.cpp:39
pappsomspp
exception
exceptioninterrupted.h
Generated on Sun Jan 1 2023 15:24:07 for libpappsomspp by
1.9.1