chrono::cosimul::ChExceptionSocket Class Reference

Description

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

#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'.
 
 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
 

The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono_cosimulation/ChExceptionSocket.h