This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


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: 9046
    
  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
 
GeeCON Prague 2014
 
subject: Error checking - java2