aspose file tools*
The moose likes Java in General and the fly likes Resources on exception handling and threads Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Resources on exception handling and threads" Watch "Resources on exception handling and threads" New topic
Author

Resources on exception handling and threads

Sunitha Mudidani
Greenhorn

Joined: Apr 25, 2006
Posts: 28
Hi
pls refer to some good resources on exception handling.
Are there any standards that you should not catch NullPointerExceptions and others?

Also refer to some good resources on thread programming.

Thanks
Shri Rohit Kumar
Greenhorn

Joined: Apr 27, 2006
Posts: 11
Greetings there,


pls refer to some good resources on exception handling.
Are there any standards that you should not catch NullPointerExceptions and others?


i guess sun tutorial will be great to get started.
to Catch a NullPointerException or anyother exception will depend on the application you are doing.
if the application depends on the value of a reference at a given time then you must, otherwise,you can leave it as it is.
But it's always *good*(read:nice to the user) that all possible exceptions be caught and an appropriate message be displayed.
done with my point of view this (http://mindprod.com/jgloss/nullpointerexception.html) might be a good read...

resource on thread programming:http://www.javaworld.com/javaworld/jw-12-2000/jw-1215-threadbooks.html?
(a bit old, but still works!)

re
rohit.


Namaste, i honour the spirit in you which is also in me.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Resources on exception handling and threads
 
Similar Threads
help me if you can.
Detecting that a String represents a valid number
Issue with Download using ZipOutputStream
exception in struts
PreparedStatement executeUpdate()