Libsockcanpp
A complete C++ wrapper around socketcan.
Public Member Functions | Private Attributes
sockcanpp::exceptions::CanCloseException Class Reference

An exception that may be thrown when an error occurs while closing a CAN socket. More...

#include <CanCloseException.hpp>

Inheritance diagram for sockcanpp::exceptions::CanCloseException:
Inheritance graph
[legend]
Collaboration diagram for sockcanpp::exceptions::CanCloseException:
Collaboration graph
[legend]

Public Member Functions

 CanCloseException (string message)
 
 ~CanCloseException ()
 
const char * what ()
 

Private Attributes

string _message
 

Detailed Description

An exception that may be thrown when an error occurs while closing a CAN socket.

Definition at line 39 of file CanCloseException.hpp.

Constructor & Destructor Documentation

◆ CanCloseException()

sockcanpp::exceptions::CanCloseException::CanCloseException ( string  message)
inline

◆ ~CanCloseException()

sockcanpp::exceptions::CanCloseException::~CanCloseException ( )
inline

Definition at line 42 of file CanCloseException.hpp.

42{}

Member Function Documentation

◆ what()

const char * sockcanpp::exceptions::CanCloseException::what ( )
inline

Definition at line 45 of file CanCloseException.hpp.

45{ return _message.c_str(); }

References _message.

Field Documentation

◆ _message

string sockcanpp::exceptions::CanCloseException::_message
private

Definition at line 48 of file CanCloseException.hpp.

Referenced by CanCloseException(), and what().


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