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
Is there any thread in our .net programs?
Who is using .net core?
What’s different between process and application in .net?
What is machine.config in .net?
What are the purposes of using .net?
Explain me what is the difference between a class and an object, and how do these terms relate to each other?
Different levels of priority provided by .net.
What tools is used to develop .NET applications?
Write Code for DataSet,Datareader,and by deleting the button gridview should be empty?
Explain how to produce an assembly?
Please explain what is the difference between a class and an object?
What does il do?
Explain what is a manifest in .net?
Explain how does assembly versioning work?
Describe the Managed Execution Process