CppUnit project page FAQ CppUnit home page

DynamicLibraryManagerException Class Reference

Exception thrown by DynamicLibraryManager when a failure occurs. More...

#include <DynamicLibraryManagerException.h>

List of all members.

Public Types

enum  Cause { loadingFailed = 0, symbolNotFound }

Public Member Functions

 DynamicLibraryManagerException (const std::string &libraryName, const std::string &errorDetail, Cause cause)
 Failed to load the dynamic library or Symbol not found in the dynamic library.
 ~DynamicLibraryManagerException () throw ()
Cause getCause () const
const char * what () const throw ()

Private Attributes

std::string m_message
Cause m_cause


Detailed Description

Exception thrown by DynamicLibraryManager when a failure occurs.

Use getCause() to know what function caused the failure.


Member Enumeration Documentation

Enumerator:
loadingFailed  Failed to load the dynamic library.
symbolNotFound  Symbol not found in the dynamic library.


Constructor & Destructor Documentation

CPPUNIT_NS_BEGIN DynamicLibraryManagerException::DynamicLibraryManagerException ( const std::string &  libraryName,
const std::string &  errorDetail,
Cause  cause 
)

Failed to load the dynamic library or Symbol not found in the dynamic library.

DynamicLibraryManagerException::~DynamicLibraryManagerException (  )  throw () [inline]


Member Function Documentation

DynamicLibraryManagerException::Cause DynamicLibraryManagerException::getCause (  )  const

const char * DynamicLibraryManagerException::what (  )  const throw ()


Member Data Documentation


The documentation for this class was generated from the following files:

SourceForge Logo hosts this site. Send comments to:
CppUnit Developers