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
  • PrintPrint

The Exception Class

You learned how to call methods and use the dot operator to access the members of a class in the last chapter. (And it’s okay if you don’t feel very confident about that statement yet. Using classes really is as simple as the dot operator and passing arguments. Well, okay, almost that simple.)

But you haven’t done much work with a real live class yet, so let’s have a look at the Exception class. Here’s a partial class diagram that shows some of the important members:

image


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

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

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint