gramods
UnsupportedException.hh
1 
2 #ifndef GRAMODS_CORE_UNSUPPORTEDEXCEPTION
3 #define GRAMODS_CORE_UNSUPPORTEDEXCEPTION
4 
5 #include <gmCore/config.hh>
6 
7 #include <string>
8 
9 BEGIN_NAMESPACE_GMCORE;
10 
15 
19  UnsupportedException(std::string what)
20  : what(what) {}
21 
25  const std::string what;
26 };
27 
28 END_NAMESPACE_GMCORE;
29 
30 #endif
Exception thrown when a feature is not supported.
Definition: UnsupportedException.hh:14
UnsupportedException(std::string what)
Creates an exception with a clarification message.
Definition: UnsupportedException.hh:19
const std::string what
A message with information about what is unsupported and why.
Definition: UnsupportedException.hh:25