Antares Simulator
Power System Simulator
Loading...
Searching...
No Matches
UnfeasibleProblemError.hpp
1
/*
2
** Copyright 2007-2023 RTE
3
** Authors: Antares_Simulator Team
4
**
5
** This file is part of Antares_Simulator.
6
**
7
** Antares_Simulator is free software: you can redistribute it and/or modify
8
** it under the terms of the Mozilla Public Licence 2.0 as published by
9
** the Mozilla Foundation, either version 2 of the License, or
10
** (at your option) any later version.
11
**
12
** There are special exceptions to the terms and conditions of the
13
** license as they are applied to this software. View the full text of
14
** the exceptions in file COPYING.txt in the directory of this software
15
** distribution
16
**
17
** Antares_Simulator is distributed in the hope that it will be useful,
18
** but WITHOUT ANY WARRANTY; without even the implied warranty of
19
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
** Mozilla Public Licence 2.0 for more details.
21
**
22
** You should have received a copy of the Mozilla Public Licence 2.0
23
** along with Antares_Simulator. If not, see <https://opensource.org/license/mpl-2-0/>.
24
**
25
** SPDX-License-Identifier: MPL-2.0
26
*/
27
#ifndef ANTARES_DATA_UNFEASIBLEPROBLEMERROR_HPP
28
#define ANTARES_DATA_UNFEASIBLEPROBLEMERROR_HPP
29
30
#include <stdexcept>
31
32
namespace
Antares
33
{
34
namespace
Data
35
{
36
class
UnfeasibleProblemError
:
public
std::runtime_error
37
{
38
public
:
39
explicit
UnfeasibleProblemError
(
const
std::string& message);
40
41
~UnfeasibleProblemError
()
noexcept
override
=
default
;
42
};
43
44
}
// namespace Data
45
46
}
// namespace Antares
47
48
#endif
// ANTARES_DATA_UNFEASIBLEPROBLEMERROR_HPP
Antares::Data::UnfeasibleProblemError
Definition
UnfeasibleProblemError.hpp:37
src
libs
antares
exception
include
antares
exception
UnfeasibleProblemError.hpp
Generated by
1.12.0