Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 6. Control Flow > Exception Types

6.6. Exception Types

Exceptions in Java are objects. All exceptions are derived from the java.lang. Throwable class. Figure 6.9 shows a partial hierarchy of classes derived from the Throwable class. The two main subclasses Exception and Error constitute the main categories of throwables, the term used to refer to both exceptions and errors. Figure 6.9 also shows that not all exception classes are found in the same package.

Figure 6.9. Partial Exception Inheritance Hierarchy



  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial