Design Pattern Examples
Overview of object-oriented design patterns
DataReaderWriterException Class Reference

Represents an error that occurred when reading or writing data in the Data reader/writer. More...

#include <Adapter_FrontEndClass.h>

Inheritance diagram for DataReaderWriterException:
Inheritance graph
Collaboration diagram for DataReaderWriterException:
Collaboration graph

Public Member Functions

 DataReaderWriterException (std::string msg)
 
const char * what ()
 Override exception::what() to return the message we are tracking.
 

Private Attributes

std::string message
 

Detailed Description

Represents an error that occurred when reading or writing data in the Data reader/writer.

Definition at line 50 of file Adapter_FrontEndClass.h.

Constructor & Destructor Documentation

◆ DataReaderWriterException()

DataReaderWriterException ( std::string  msg)
inline

Definition at line 55 of file Adapter_FrontEndClass.h.

Member Function Documentation

◆ what()

const char * what ( )
inline

Override exception::what() to return the message we are tracking.

Definition at line 63 of file Adapter_FrontEndClass.h.

References DataReaderWriterException::message.

Member Data Documentation

◆ message

std::string message
private

Definition at line 53 of file Adapter_FrontEndClass.h.

Referenced by DataReaderWriterException::what().


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