serial  1.2.1
Cross-platform, serial port library written in C++
Public Member Functions
serial::SerialException Class Reference

#include <serial.h>

Inheritance diagram for serial::SerialException:
Inheritance graph
[legend]
Collaboration diagram for serial::SerialException:
Collaboration graph
[legend]

Public Member Functions

 SerialException (const char *description)
 
 SerialException (const SerialException &other)
 
virtual ~SerialException () throw ()
 
virtual const char * what () const throw ()
 

Constructor & Destructor Documentation

serial::SerialException::SerialException ( const char *  description)
inline
678  {
679  std::stringstream ss;
680  ss << "SerialException " << description << " failed.";
681  e_what_ = ss.str();
682  }
serial::SerialException::SerialException ( const SerialException other)
inline
683 : e_what_(other.e_what_) {}
virtual serial::SerialException::~SerialException ( )
throw (
)
inlinevirtual
684 {}

Member Function Documentation

virtual const char* serial::SerialException::what ( ) const
throw (
)
inlinevirtual
685  {
686  return e_what_.c_str();
687  }

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