2.7. Java Language Issues

While readers should be familiar with at least the basics of the Java programming language and will likely be proficient with the language, there are some issues, delineated below, that all readers should be aware of.

2.7.1. Exception Handling in Java

Exception handling is a mechanism for dealing with errors that occur in software at runtime. Anyone who has done programming is familiar with errors in source code (often due to typing errors, or breaking the rules of the language) that occur at compile time, but the notion of runtime error-handling may be new to some readers; some may instead be familiar with badly written software that simply crashes. Even if source code is perfectly correct in syntax, errors can occur ...

Get Java™ Network Programming and Distributed Computing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.