Unreported Exception
807591Feb 29 2008 — edited Feb 29 2008Hai All
I am having one doubt regarding Exception in java. When I call some of the System defined function in java like thread.sleep(500) , it showing error like "Unreported Exception java.lang.Interrupted Exception;must be caught or declared to be thrown" really i do not know what does mean.
I know only one thing whenever i want to use Exception Handling concept in my program , i have to use try and catch statement for handling exception.
can you explain me clearly .
Thanks
Selvakumar