gramods
Loading...
Searching...
No Matches
InvalidArgument.hh
1
2#ifndef GRAMODS_CORE_INVALIDARGUMENT
3#define GRAMODS_CORE_INVALIDARGUMENT
4
5#include <gmCore/RuntimeException.hh>
6
7#include <string>
8
9BEGIN_NAMESPACE_GMCORE;
10
16
20 InvalidArgument(std::string what)
21 : RuntimeException(what) {}
22};
23
24END_NAMESPACE_GMCORE;
25
26#endif
Standard exception for invalid arguments in a call to a function or object.
Definition InvalidArgument.hh:15
InvalidArgument(std::string what)
Creates an exception with a clarification message.
Definition InvalidArgument.hh:20
Standard exception for runtime problems and base type for more detailed problems.
Definition RuntimeException.hh:15