| Summary: | In contrast to some other languages, Java's simplicity and consistency allow compilers to detect many more errors. Java developers learn to rely on their compilers to catch assignments to incorrect types, calls of nonexistent methods and-this article's topic-incorrect exception handling. But situations still crop up where you really need to know what you're doing. If you understand exactly how Java allows you to throw and catch exceptions, you'll know when you need to be extra careful and what practices can keep you out of trouble. (1,700 words; February 14, 2003)
|