ExceptionExample
-- catching, throwing, declaring, and defining exceptions.
To see this example in action:
Compile the Java source file, ExceptionExample.java:
javac ExceptionExample.java
Run the class:
java ExceptionExample
The source.