Class exception

Inheritance Relationships

Base Type

  • public exception

Derived Types

Class Documentation

class icrar::exception : public exception

Generic exception with source tracing.

Subclassed by icrar::file_exception, icrar::invalid_argument_exception, icrar::json_exception, icrar::not_implemented_exception

Public Functions

exception(const std::string &msg, const std::string &file, int line)

Constructs a new exception object.

Parameters
  • msg: exception reason

  • file: exception file location

  • line: exception line location

const char *what() const noexcept override