- Designing with exceptions - Discusses design guidelines that pertain to exceptions. Details how to decide when to use exceptions, and gives examples from the Java API that illustrate appropriate uses of exceptions.
- Handling Uncaught Exceptions - Explans how the Java Virtual Machine terminates a program when uncaught exceptions occur and teaches (with code examples) how to find and debug them from your programs.
- Runtime Exceptions--The Controversy - Discusses the controversy and bad practice of programmers who write code that throws only runtime exceptions or to make all of their exception subclasses inherit from RuntimeException.
- Use Dynamic Messaging in Java - Get around Java's inability to trap a request it doesn't know about -- by implementing the 'doesNotUnderstand' method.
- Using Exceptions - A brief code example from the Sun website that demonstrates how to use exceptions.
|
|
|