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
How is meant by dll in .net?
What is the use of Treeview control?
Explain what is a manifest in .net?
Will my .net app run on 64-bit windows?
What does cil do?
What is a design pattern and what is it for?
What is the difference between imperative and interrogative code?
What are nullable types in .NET
Explain me what is encapsulation?
When a Static Constructor called in .NET?
Please explain what is the .net framework and how does it work?
In code behind class, name the type of code found. Is it the server side code or client side code?
Explain what is an anonymous method and how is it different from a lambda expression?
State the various features present in .NET?
Explain why do we use msmq?