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