Download presentation
Presentation is loading. Please wait.
Published byGiles Lyons Modified over 6 years ago
1
The Problem You are writing a program that accepts from the command line a number and that number tells the application how many numbers to read from standard input. What are the different problems that can arise from such an application? Where can it go wrong? In your group, list the different problems that can occur in working with the above
2
Solutions So how do you solve each of these? OR …..?
In your group, identify a way to solve each of the problems. OR …..?
3
Exception handling See html notes and book, chapter 12.1
4
Copyright © 2005, Pearson Addison-Wesley. All rights reserved.
Exception Classes Object Throwable Exception Error RuntimeException IOException FileNotFoundException EOFException … Starting Out With Java Control Structures to Objects By Tony Gaddis Copyright © 2005, Pearson Addison-Wesley. All rights reserved.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.