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 / parikshit
it will give compile time error as, the sequence of
exception class has to be Most Specific => General.
| Is This Answer Correct ? | 12 Yes | 3 No |
Post New Answer View All Answers
What is conceptual model? : Entity framework
Which version of .net framework is installed?
What is mvc entity framework?
Does Tempdata hold the data for other request in ASP.Net MVC?
What is the role of the jit compiler in .net framework?
What is renderbody?
What is representational state transfer (rest) mean?
How do I install .net framework?
what is entity sql?
Mention the core components of .net framework?
what is entity data model?
What is Dependency Injection in ASP.Net MVC
Is .net framework going away?
What is display mode in mvc?
What is the importance of NonActionAttribute?