Class runtime_error

Inheritance Relationships

Base Type

  • public std::runtime_error

Derived Types

Class Documentation

class runtime_error : public std::runtime_error

Represents a generic runtime error.

Subclassed by sick::configuration_error, sick::timeout_error

Public Functions

inline explicit runtime_error()

The default constructor of a runtime error object. The message string is kept empty.

inline explicit runtime_error(const std::string &what_arg)

Constructor of a runtime error object.

Parameters

what_arg – A description of the reason for the failure.

inline explicit runtime_error(const char *what_arg)

Constructor of a runtime error object.

Parameters

what_arg – A description of the reason for the failure.

virtual ~runtime_error() = default

Destructor of the runtime error object.