assert
try { code that could potentially cause an exception } catch (exception-declaration) { exception-handling code } catch (exception-declaration) { exception-handling code } ... } catch (exception-declaration) { exception-handling code }
Signalling the Exception
throw "Error - concordance word limit exceeded";
catch
block will be executed
catch
block of the form
catch (char *msg) { ... }