Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
throw is the keyword to produce an exception.
#include <exception> |
A try-block indicates the calling of functions that might throw an exception and is followed by a catch-block, where the exception is handled.
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.