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 / djana
I tried I got the following ...
Error 1 A previous catch clause already catches all exceptions of this or of a super type ('System.Exception') E:\dotnet\ConsoleApplication1\ConsoleApplication1\Program.cs 58 20 ConsoleApplication1
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Which dll is required to translate xml to sql in internet information server (iis)?
What is garbage collection in .net? Explain the garbage collection process?
Difference between value type & reference types ?
Explain the code behind wors and contrast that using the inline style.
Can any object be stored in a viewstate in .net?
Explain webfarm vs webgardens in .net?
What relationship is between a process, application domain, and application?
What is an anonymous method?
What is meant by globalization and localization?
What is data type and how many types of data types are in .NET ?
I'm having some trouble with cas. How can I troubleshoot the problem?
Why SOAP is required?
How anonymous method is different from a lambda expression?
Explain the different types of proxy patterns?
Explain about .Net products?