Monday, May 24, 2010

What exactly is error checking within Java Applications?

I'm currently designing an application in which I need to ouput a list of the contents within a root directory and all its subdirectories.





Each line of the output will show the size of a particular directory AND the total size of the root directory.

What exactly is error checking within Java Applications?
Error checking... make sure your application is checking areas that could potentially throw an exception and crash your app. Try...catch blocks will usually do the trick. Be sure to let your code flow out of the catch instead of halting though.





I guess that's what you're wanting. =)

petal

No comments:

Post a Comment