Can we use resume in error handling i.e. in the catch block
Answers were Sorted based on User's Feedback
Answer / mms zubeir
I believe the question is not properly formed, am I right?
The question could be: Can we resume the execution from
where the exception is thrown?
The answer can be Yes** and No*.
* - By using C++ try/catch mechanism we cannot resume back
because of the stack unwinding happens.
** - By using structured exception handling of Win32, we
can resume.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / s.murali krishnan
No.
The Exception can only handled using the catch block
the error CANNOT be handled.
| Is This Answer Correct ? | 1 Yes | 0 No |
What is #include c++?
What is enum c++?
What is the use of volatile keyword in c++? Give an example.
Show the declaration for a pointer to function returning long and taking an integer parameter.
Write a program which uses functions like strcmp(), strcpy()? etc
What is purpose of abstract class?
What is meant by forward referencing and when should it be used?
How do I start a c++ project?
program to print this triangle * * * * * *
What is a constructor initializer list and when we use constructor initializer list?
What does the following do: for(;;) ; a) Illegal b) Loops forever c) Ignored by compiler...not illegal
What is an adaptor class or Wrapper class?