mf
Media Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
exceptions.h
Go to the documentation of this file.
1 #ifndef MF_EXCEPTIONS_H_
2 #define MF_EXCEPTIONS_H_
3 
4 #include <stdexcept>
5 #include <string>
6 
7 #define MF_DEFINE_EXCEPTION_(name, base) \
8  class name : public base { \
9  public: \
10  explicit name(const std::string& what) : base(what) { } \
11  explicit name(const char* what) : base(what) { } \
12  };
13 
14 
15 namespace mf {
16 
18 
21 
22 }
23 
24 #endif
#define MF_DEFINE_EXCEPTION_(name, base)
Definition: exceptions.h:7
Definition: exceptions.h:19
Definition: exceptions.h:17
Definition: exceptions.h:20