dcsimg
Exception Handling
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   SUDHEER_GHANTA
Posted On:   Monday, May 22, 2006 04:15 AM


When an exception has been occured in try block, the cursor goto try block according to the raised exception.
Then after catch block execuion is oven is the curson come back to execute the remaining statements in try block which is after the exception raised statement or not?

like this

try{
------------
------------
------Exceptioin occured statement;
-------- these stmts are executed or not after catch?
----------
catch(e)
{
-----
----------
}

Re: Exception Handling

Posted By:   Byron_Tymvios  
Posted On:   Monday, May 22, 2006 04:32 AM


Other statements in the try...catch block will NOT be executed after the statement that threw the exception. Only the statements in the catch block and the finally block will be executed.

About | Sitemap | Contact