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

#include <serial.h>

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

Public Member Functions

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

Constructor & Destructor Documentation

serial::PortNotOpenedException::PortNotOpenedException ( const char *  description)
inline
735  {
736  std::stringstream ss;
737  ss << "PortNotOpenedException " << description << " failed.";
738  e_what_ = ss.str();
739  }
serial::PortNotOpenedException::PortNotOpenedException ( const PortNotOpenedException other)
inline
740 : e_what_(other.e_what_) {}
virtual serial::PortNotOpenedException::~PortNotOpenedException ( )
throw (
)
inlinevirtual
741 {}

Member Function Documentation

virtual const char* serial::PortNotOpenedException::what ( ) const
throw (
)
inlinevirtual
742  {
743  return e_what_.c_str();
744  }

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