rec::robotino::api2 C++ interface
|
An extended exception class used in all rec::robotino::api2 classes. More...
#include <RobotinoException.h>
Public Member Functions | |
RobotinoException (const char *message) | |
Creates a new Exception with a given text message. More... | |
RobotinoException (const std::exception &cause) | |
Creates a new Exception with a given text message. More... | |
virtual | ~RobotinoException () throw () |
virtual const char * | what () const throw () |
Return the descriptive text message. More... | |
An extended exception class used in all rec::robotino::api2 classes.
Usually gets thrown if a used communication object is invalid, but there are other reasons, too, so check the error message.
|
inline |
Creates a new Exception with a given text message.
message | A text message describing the reason of the exception. |
|
inline |
Creates a new Exception with a given text message.
cause | A text message describing the reason of the exception. |
|
inlinevirtual |
Destructor.
|
inlinevirtual |
Return the descriptive text message.
Overloaded from std::exception.