Please see below pseudocode method. If the call to readUrls()
throws an exception, doesn t that mean that closeConnection()
will not be executed and program flow will return to the method that calls getdata()
?
增 编
getdata() throws Exception
{
setup();
readUrls();
closeConnection();
}