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 is the difference between asp.net and asp?
What is Flyout Design Pattern in .NET?
What is a garbage collector?
When we go for html server controls and when we go for web server controls?
explain the states of a window service application?
What is Ajax design pattern in .NET?
Why do we use msmq?
What is the difference between odbc and ado?
How many design patterns can be created in .net?
What are the new features of Framework 1.1 ?
What is .net assembly?
How do you trigger the paint event in system.drawing?
What is cyclomatic complexity and why is it important?
Explain garbage collection?
Do I have any control over the garbage collection algorithm?