CMmapError

Name

CMmapError -- Exception that can be thrown in the event of memory mapping errors.

Synopsis


#include <MmapError.h>
            
 class CMmapError : public CException {

  CMmapError(const char* pDoing);
  CMmapError(const std::string& rDoing);

  const virtual const char* ReasonText();
}

Description

CMmapError is an exception type that can be thrown by device support functions as a result of a failure to create a memory mapping to the VME crate.

The constructors provide mechanisms to get strings information inserted into the exception error information describing what the program was doing when the exception was thrown.

ReasonText returns a pointer to a char* that can be printed out to provide complete information about the exception to the user.