Syntax of exception declaration is given below.
This defines an exception constructor optionally with an argument of type ⟨ty⟩.
Syntax of exception specification is the same as exception declaration.
The following are examples of exception declarations and their interface.