CppUnit project page FAQ

DynamicLibraryManagerException.h
Go to the documentation of this file.
1 #ifndef CPPUNIT_PLUGIN_DYNAMICLIBRARYMANAGEREXCEPTION_H
2 #define CPPUNIT_PLUGIN_DYNAMICLIBRARYMANAGEREXCEPTION_H
3 
4 #include <cppunit/Portability.h>
5 
6 #if !defined(CPPUNIT_NO_TESTPLUGIN)
7 #include <stdexcept>
8 #include <string>
9 
10 
12 
13 
19 class DynamicLibraryManagerException : public std::runtime_error
20 {
21 public:
22  enum Cause
23  {
28  };
29 
31  DynamicLibraryManagerException( const std::string &libraryName,
32  const std::string &errorDetail,
33  Cause cause );
34 
36  {
37  }
38 
39  Cause getCause() const;
40 
41  const char *what() const throw();
42 
43 private:
44  std::string m_message;
46 };
47 
48 
50 
51 #endif // !defined(CPPUNIT_NO_TESTPLUGIN)
52 
53 #endif // CPPUNIT_PLUGIN_DYNAMICLIBRARYMANAGEREXCEPTION_H

Send comments to:
CppUnit Developers