Simox  2.3.74.0
VirtualRobot::VirtualRobotException Class Reference
Inheritance diagram for VirtualRobot::VirtualRobotException:
VirtualRobot::VirtualRobotCheckException

Public Member Functions

 VirtualRobotException (const std::string &what)
 
 VirtualRobotException (const char *what)
 
 ~VirtualRobotException () noexcept override
 
const char * what () const noexcept override
 

Protected Attributes

std::string exception
 

Detailed Description

This class defines a custom exception which is used in the VirtualRobot library. Use the macros THROW_VR_EXCEPTION and THROW_VR_EXCEPTION_IF to create and throw exceptions of this kind.

Constructor & Destructor Documentation

◆ VirtualRobotException() [1/2]

VirtualRobot::VirtualRobotException::VirtualRobotException ( const std::string &  what)

◆ VirtualRobotException() [2/2]

VirtualRobot::VirtualRobotException::VirtualRobotException ( const char *  what)

◆ ~VirtualRobotException()

VirtualRobot::VirtualRobotException::~VirtualRobotException ( )
overridedefaultnoexcept

Member Function Documentation

◆ what()

const char * VirtualRobot::VirtualRobotException::what ( ) const
overridenoexcept

Field Documentation

◆ exception

std::string VirtualRobot::VirtualRobotException::exception
protected