Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

scenario where the run() method needs to throw exception

843810Dec 7 2007
How do we proceed if we want to throw userdefined exceptions from the run method.

if we write a method called

public void run() throws UserDefinedException{


}


will this get invoked when the thread.start(); method is called


If not how can we handle this

Regards,

ivin

please respond.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 4 2008
Added on Dec 7 2007
0 comments
123 views