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
Explain difference between panel and groupbox classes using .net?
What is the purpose of enumerable class in .net?
Write the .net syntax for 'for loop'?
Explain the differences between server-side code and client-side code.
Describe difference between inline and code-behind?
What is managed code in .NET?
What is the difference between function and stored procedure?
What is a serviced component?
What is SOAP? How you will do windows and forms authentication?
What are pdbs?
What is close method? How its different from finalize and dispose?
hai, about trading domain and need simple project on trading system. please help me...
Please explain what is the difference between encrypting a password and applying a hashing?
Why do we use the “using” statement?
Who is using .net core?