 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| • |
Defining the exception
|
|
|
|
Extend type Exception and supply a pair of
|
|
|
|
constructors
that call super
|
|
|
| • |
Raising(generating) the exception
|
|
|
|
Use of the throw statement
|
|
|
| • |
Handling the exception
|
|
|
|
Forward the exception or use try-catch-finally
|
|
|
statement
to catch and handle the exception.
|
|