Any exceptions are there which are not caught by any catch
blocks?
what are they?

Answers were Sorted based on User's Feedback



Any exceptions are there which are not caught by any catch blocks? what are they?..

Answer / amit dhiman [mcp, mca, bca]

propagates unhandled exceptions, Can't be called by any
Catch blocks

Is This Answer Correct ?    5 Yes 0 No

Any exceptions are there which are not caught by any catch blocks? what are they?..

Answer / piyush sharma

1) If you are writting managed Code and using proper try
catch block then there
is no such exception which cannot be caught. Yes, But
sometimes it happens
that you have written correct try catch block but exception
is still
unhandled. This type of exception is called First Chance
Exception. As you
can come across it while developing web services or working
with threads.

Now What is a first chance exception?
When an application is being debugged, the debugger gets
notified whenever
an exception is encountered At this point, the application
is suspended and
the debugger decides how to handle the exception. The first
pass through this
mechanism is called a "first chance" exception. Depending
on the debugger's
configuration, it will either resume the application and
pass the exception
on or it will leave the application suspended and enter
debug mode. If the
application handles the exception, it continues to run
normally.

2)The only one I can think of
offhand is StackOverflowException, since a catch block, or
any of the
global exception handlers you can write require stack space
in order to
execute. If you're out of stack you can't call anything...
including an
exception handler.

Is This Answer Correct ?    2 Yes 0 No

Any exceptions are there which are not caught by any catch blocks? what are they?..

Answer / rangaramesh

Guys all you said some what right but you said some generic
answer. Some of the exception we can't handle in the catch
block ex "Fatal Errors,Virtual memory"

Is This Answer Correct ?    2 Yes 0 No

Any exceptions are there which are not caught by any catch blocks? what are they?..

Answer / sunil kumar

Yes
"StackOverFlowException" doesn't get catch by any catch block

Is This Answer Correct ?    2 Yes 1 No

Any exceptions are there which are not caught by any catch blocks? what are they?..

Answer / parmjit

No there is no exception in C# which cannot be handled by
catch block.

All type of exception can be handled by a catch block.

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More C Sharp Interview Questions

There are a class A. Another class B derived from it. Now if I do A a = new B(); and B b = new B(); What will happen in both the statements. And what is the difference between these two statements.

3 Answers   HCL,


What is trim in c#?

0 Answers  


What are the Types of optimization and name a few and how do u do?

0 Answers   BirlaSoft,


What is an iqueryable in c#?

0 Answers  


Define satellite Assembly in .NET?

0 Answers   DELL,


Explain lock, monitors, and mutex object in threading.

0 Answers  


what's the Difference between DataView and DataTable?

10 Answers  


What is thread pooling?

0 Answers  


What is new method in c#?

0 Answers  


why c# is pronounced as C-sharp instead of pronouncing it as C-hash? is there any technical reason behind it?

3 Answers  


What is string class in c#?

0 Answers  


What happens during the process of boxing?

0 Answers  


Categories