1.8 Exception handling: dealing with errors
An exception is an object thrown from the site of the error.
Exception handling is like a different, parallel path of execution.
Exception canot be ignored.
Excetion provide a way to reliably recover from a bad situation.
Here is an interesing part.
Java builds threads into language, then without hardware suspension, the program is logically divided into threads.
And to solve the problem of share recources, Java enables a thread to lock a resource.This is accomplished using the synchronized keyword.
1.11 Java and the Internet