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 11. Exception Handling

11. Exception Handling

Errors are a fact of life. Even the most perfect programmer has code that creates run-time errors at times. This chapter is about handling such cases.

You’ll commonly encounter two kinds of errors: compile-time errors and run-time errors. Compile-time errors are those raised by the compiler, and you have to fix those before you continue with your program. Run-time errors happen at run-time, even though your code compiled fine. Run-time errors are commonly called exceptions.


  

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


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