This preview shows page 1. Sign up to view the full content.
Unformatted text preview: Exception Handling What does 'throws IO exception' mean? Why should we handle exceptions instead of sending them to the OS? When should we use exception handling? What's the syntax for a trycatch block? o How many catches are allowed to go with a try block? o How many try blocks are allowed in a program? What goes in the 'try' portion of the 'trycatch' block? What kind of exceptions can we catch? o How are these exceptions different? o What can we do when we've caught an exception?...
View Full Document
- Spring '09
- Computer Science