This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Cattle Drive and the fly likes Error checking - java2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Error checking - java2" Watch "Error checking - java2" New topic
Author

Error checking - java2

Brian Holsenbeck
Greenhorn

Joined: Jul 01, 2008
Posts: 8
I haven't gotten the go-ahead on java1-b, but I'm looking at java2 in hopes the latest submission is good. How good does the error checking need to be? Do I need to check for whether the input is an int? For whether the input will fit into an int?
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
Pretty minimal error checking. We don't really worry much about error checking until OOP 2.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
 
 
subject: Error checking - java2
 
Similar Threads
How to compare String and int?
can't move focus to the control because it is invisible
Valadation problem!!!!!!
Array without ints
complete newbie with applets here