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 ccw (com callable wrapper) and rcw (runtime callable wrappers) works?
What class does icon derive from? Isn't it just a bitmap with a wrapper name around it?
object is physical and class is logical..here class is not occupying any memory as our definition of class but i got a question then the class where it stores if it is not occupying any memory....
Explain the features that are common to all .Net languages.
I was working for software company frm 2005 to 2009. I left job due to recession.I was jobless till dec 09 then i got job in bpo and i am not knowing what to do as my professional experience is with software.give me any suggestion.
Can you edit data in repeater control? How?
Explain .NET architecture?
What's the problem with .net generics?
Explain the garbage collection process?
How to produce an assembly?
Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component
Please explain what are an inheritance, polymorphism, and encapsulation?
Compare client server application with n-tier application
Difference between abstract class and interface in .net?
If a dataset contains 100 rows, how to fetch rows between 5 and 15 only?