CPP API class rl3::Exception

From RL3 Wiki
Jump to: navigation, search

rl3::Exception class overview

rl3::Exception class is a subclass of std::runtime_error class. The class can be used to manage user-defined exceptions.

constructor

Exception(const std::string& msg) throw() : std::runtime_error(msg) {}

Throw an exception with a custom message.

msg: a custom message