Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
An exception that theoretically can be detected by reading the code (opposite of the std::runtime_error, that cannot be detected).
In the exception hierarchy, std::logic_error has std::exception as its base class.
std::logic_error is the base class of std::domain_error, std::invalid_argument, std::length_error and std::out_of_range.
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.