libpappsomspp
Library for mass spectrometry
exceptionoutofrange.h
Go to the documentation of this file.
1 
2 /*******************************************************************************
3  * Copyright (c) 2015 Olivier Langella <Olivier.Langella@moulon.inra.fr>.
4  *
5  * This file is part of the PAPPSOms++ library.
6  *
7  * PAPPSOms++ is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * PAPPSOms++ is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with PAPPSOms++. If not, see <http://www.gnu.org/licenses/>.
19  *
20  * Contributors:
21  * Olivier Langella <Olivier.Langella@moulon.inra.fr> - initial API and
22  *implementation
23  ******************************************************************************/
24 #pragma once
25 
26 #include "../pappsoexception.h"
27 
28 namespace pappso
29 {
30 
31 class ExceptionOutOfRange : public PappsoException
32 {
33  public:
34  ExceptionOutOfRange(const QString &message) throw() : PappsoException(message)
35  {
36  }
37 
38 
39  virtual QException *
40  clone() const override
41  {
42  return new ExceptionOutOfRange(*this);
43  }
44 };
45 } // namespace pappso
pappso
Definition: aa.cpp:38
pappso::ExceptionOutOfRange::ExceptionOutOfRange
ExceptionOutOfRange(const QString &message)
Definition: exceptionoutofrange.h:76
message
message(\n${BoldRed}"Now configuring src/widget for ${PROJECT_NAME}"${ColourReset}\n) find_package(Qt5 COMPONENTS Core Gui PrintSupport Svg REQUIRED) if(NOT QCustomPlot_FOUND) message("Still searching for QCustomPlot") find_package(QCustomPlot REQUIRED) add_definitions(-DQCUSTOMPLOT_USE_LIBRARY) endif() SET(PAPPSOWIDGET_CPP_FILES graphicdevicewidget.cpp precisionwidget/precisionwidget.cpp massspectrumwidget/qcpspectrum.cpp massspectrumwidget/massspectrumwidget.cpp xicwidget/qcpxic.cpp xicwidget/xicwidget.cpp plotwidget/colormapplotconfig.cpp plotwidget/baseplotwidget.cpp plotwidget/basetraceplotwidget.cpp plotwidget/ticxicchromtraceplotwidget.cpp plotwidget/massspectraceplotwidget.cpp plotwidget/driftspectraceplotwidget.cpp plotwidget/basecolormapplotwidget.cpp plotwidget/ticxicchrommassspeccolormapplotwidget.cpp plotwidget/ticxicchromdriftspeccolormapplotwidget.cpp plotwidget/driftspecmassspeccolormapplotwidget.cpp) add_library(pappsomspp-widget-static STATIC $
Definition: CMakeLists.txt:6
pappso::ExceptionOutOfRange::clone
virtual QException * clone() const override
Definition: exceptionoutofrange.h:82
pappso::PappsoException::PappsoException
PappsoException(const QString &message)
Definition: pappsoexception.h:86