Requirement is:
try
{
\\SQL Query
}
catch(Exception i)
{
print a
}
catch(SQLQueryException e)
{
\\SQL Query
}
Qu)I Got Exception in "try" block. Which "catch" statement
(i.e. 1st catch or 2nd catch ) catches the exception and
Why???
Answer Posted / balakrishnan
The First Catch block will be executed, if the generic
exception should be defined it should be the last of
exception list
Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
Does razor engine supports for tdd?
What is objectset? : Entity framework
What are the versions of .net framework?
Explain the methods used to render the views in ASP.Net MVC?
Explain the use of Inversion of control (IOC)?
What is the meaning of unobtrusive javascript?
What is .net architecture?
Explain what is the difference between view and partial view?
What is Area in ASP.Net MVC?
Where is the new functionality in the .net framework 3.0 (such as wcf, wf, wpf, and cardspace) installed to? Is that different from where the .net framework 2.0 is installed to?
Explain the advantage of packaging over xcopy in .net?
What is the full form of sp?
Can you explain renderbody and renderpage in asp.net mvc?
Explain what is asp.net mvc?
Explain two instances where routing is not implemented or required?