previous | start

## Exception Handling (Syntax 17.10 : Exception Specification)

Syntax 17.10 : Exception Specification
    return_type function_name(parameters)
       throw (type_name1, type_name2, ..., type_namen)
Example: |
    void process_products(fstrream& fs)
       throw(UnexpectedEndOfFile, bad_alloc)
Purpose: | List the types of all exceptions that a function can throw.

previous | start