previous | start | next

Exception Handling (Syntax 17.8 : Throwing an Exception)

Syntax 17.8 : Throwing an Exception

throw expression;
Example:
throw logic_error("illegal future_value parameter");
Purpose: Abandon this function and throw a value to an exception handler.


previous | start | next