Debian Codegraph @

plugins/core/Standard/qMPlane/src/ccMPlaneErrors.h

raw
1 //##########################################################################
2 //# #
3 //# CLOUDCOMPARE PLUGIN: qMPlane #
4 //# #
5 //# This program is free software; you can redistribute it and/or modify #
6 //# it under the terms of the GNU General Public License as published by #
7 //# the Free Software Foundation; version 2 of the License. #
8 //# #
9 //# This program is distributed in the hope that it will be useful, #
10 //# but WITHOUT ANY WARRANTY; without even the implied warranty of #
11 //# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
12 //# GNU General Public License for more details. #
13 //# #
14 //# COPYRIGHT: AIT Austrian Institute of Technology GmbH #
15 //# #
16 //##########################################################################
17
18
19 #ifndef CC_MPLANE_ERRORS
20 #define CC_MPLANE_ERRORS
21
22 // std
23 #include <stdexcept>
24
25
26 class MplaneInvalidArgument : public std::invalid_argument {
27 using std::invalid_argument::invalid_argument;
28 };
29
30 class MplaneFittingError : public std::logic_error {
31 using std::logic_error::logic_error;
32 };
33
34 #endif