7.4 Creating your own exceptions
To creating your own exceptions, you're forced to inherit from an existing type of exception.
Case Study:
Inheriting.java
You can add extra constructors and members:
Inheriting2.java
Next Page