Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) std::logic_error

 

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.

 

 

 

 

 

External links

 

  1. GCC reference on std::logic_error

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict