FMT 1.2.0
Forest management tools for forest planning
Loading...
Searching...
No Matches
FMTSeException.h
Go to the documentation of this file.
1/*
2Copyright (c) 2019 Gouvernement du Québec
3
4SPDX-License-Identifier: LiLiQ-R-1.1
5License-Filename: LICENSES/EN/LiLiQ-R11unicode.txt
6*/
7
8
9
10#ifndef FMTSEEXCEPTION_Hm_included
11#define FMTSEEXCEPTION_Hm_included
12
13#include <stdexcept>
14
15
16
17
18
20namespace Exception
21 {
22 // DocString: FMTSeException
26 class FMTSeException : public std::logic_error
27 {
28 public:
29 // DocString: FMTSeException()
33 FMTSeException() noexcept;
34 // DocString: FMTSeException(unsigned int)
39 FMTSeException(unsigned int p_n) noexcept;
40 // DocString: FMTSeException::getSeNumber
45 unsigned int getSeNumber() const noexcept;
46 // DocString: FMTSeException(const FMTSeException&)
51 FMTSeException(const FMTSeException& p_rhs) = default;
52 // DocString: FMTSeException::operator=
58 FMTSeException& operator = (const FMTSeException& p_rhs) = default;
59 private:
60 unsigned int m_nSE;
61
62 };
63 }
64
65
66#endif // FMTEXCEPTION_Hm_included
Exception representing a structured exception (SE) caught on Windows.
Definition: FMTSeException.h:27
unsigned int getSeNumber() const noexcept
Return the structured exception number.
FMTSeException() noexcept
Default constructor for FMTSeException.
Namespace for exceptions and exceptions handling (warnings and errors) thrown by FMT and all exceptio...
Definition: FMTAggregateRedefinition.h:11