chrono::cosimul::ChExceptionSocket Class Reference


Class for exceptions that are thrown by TCP socket connections, used for example when connecting with other sw for co-simulation.

#include <ChExceptionSocket.h>

Inheritance diagram for chrono::cosimul::ChExceptionSocket:
Collaboration diagram for chrono::cosimul::ChExceptionSocket:

Public Member Functions

 ChExceptionSocket (int code, const std::string &what)
int getErrCode ()
void response ()
- Public Member Functions inherited from chrono::ChException
 ChException (std::string swhat)
 Constructor for a basic exception: sets the exception message as a string 'swhat'. More...
 ChException (const ChException &right)
 Copy constructor.
ChExceptionoperator= (const ChException &right)
 Assignment = operator.
virtual const char * what () const throw ()

Additional Inherited Members

- Protected Attributes inherited from chrono::ChException
std::string m_swhat