DISPLACE
1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
formatexception.h
Go to the documentation of this file.
1
#ifndef FORMATEXCEPTION_H
2
#define FORMATEXCEPTION_H
3
4
#include <stdexcept>
5
#include <
formats_globals.h
>
6
7
namespace
displace
{
8
namespace
formats {
9
10
class
FORMATSSHARED_EXPORT
FormatException
:
public
std::runtime_error {
11
public
:
12
explicit
FormatException
(
const
char
*msg)
13
:
std
::runtime_error(msg) {}
14
15
template
<
typename
T>
16
explicit
FormatException
(T&& mm)
17
:
std
::runtime_error(
std
::forward<T>(mm)) {}
18
};
19
20
}
21
}
22
23
#endif // FORMATEXCEPTION_H
displace
Definition:
decisiontreemanager.h:13
displace::formats::FormatException::FormatException
FormatException(const char *msg)
Definition:
formatexception.h:12
displace::formats::FormatException::FormatException
FormatException(T &&mm)
Definition:
formatexception.h:16
std
Definition:
pathshop.cpp:8
FORMATSSHARED_EXPORT
#define FORMATSSHARED_EXPORT
Definition:
formats_globals.h:24
displace::formats::FormatException
Definition:
formatexception.h:10
formats_globals.h
formats
formatexception.h
Generated by
1.8.15