Hi,
Requirement is:
try
{
\\SQL Query
}
catch(Exception i)
{
print a
}
catch(SQLQueryException e)
{
\\SQL Query
}
Got Exception in "try" block. Which "catch" throws
exception and Why???
Please provide the answer in detail..
Thanks for the help!!!
Answer Posted / kaushik
catch(SQLQueryException e)
{
\\SQL Query
}
would throw exception as a try can have more than one catch
block that the related exception can be handled individually
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What are the types of jit?
Can any object be stored in a viewstate in .net?
Explain the main components in .net?
What is gac in .net?
What are .net applications?
If a dataset contains 100 rows, how to fetch rows between 5 and 15 only?
What is static constructor, when it will be fired? And what is its use?
What is the native image generator?
What is meant by localization?
Explain cas (code access security)?
What is an assembly? What are the different types of assemblies?
What are code contracts?
Tell me about secure socket layer? How to make use of the technology?
What is different between webusercontrol and in webcustomcontrol?
Explain the different parts of an assembly?