Simox  2.3.74.0
VirtualRobot::VirtualRobotCheckException Class Reference

Exception class thrown by VR_CHECK_* macros. More...

Inheritance diagram for VirtualRobot::VirtualRobotCheckException:
VirtualRobot::VirtualRobotException

Public Member Functions

 VirtualRobotCheckException (const std::string &condition, const std::string &file, int line, const std::string &function, const std::string &hint="")
 Construct with condition and meta information as well as optional hint. More...
 
template<typename LhsT , typename RhsT >
 VirtualRobotCheckException (const std::string &condition, const LhsT &lhs, const RhsT &rhs, const std::string &file, int line, const std::string &function, const std::string &hint="")
 Construct with left- and right-hand-side operators. More...
 
- Public Member Functions inherited from VirtualRobot::VirtualRobotException
 VirtualRobotException (const std::string &what)
 
 VirtualRobotException (const char *what)
 
 ~VirtualRobotException () noexcept override
 
const char * what () const noexcept override
 

Additional Inherited Members

- Protected Attributes inherited from VirtualRobot::VirtualRobotException
std::string exception
 

Detailed Description

Exception class thrown by VR_CHECK_* macros.

Constructor & Destructor Documentation

◆ VirtualRobotCheckException() [1/2]

VirtualRobot::VirtualRobotCheckException::VirtualRobotCheckException ( const std::string &  condition,
const std::string &  file,
int  line,
const std::string &  function,
const std::string &  hint = "" 
)

Construct with condition and meta information as well as optional hint.

◆ VirtualRobotCheckException() [2/2]

template<typename LhsT , typename RhsT >
VirtualRobot::VirtualRobotCheckException::VirtualRobotCheckException ( const std::string &  condition,
const LhsT &  lhs,
const RhsT &  rhs,
const std::string &  file,
int  line,
const std::string &  function,
const std::string &  hint = "" 
)
inline

Construct with left- and right-hand-side operators.