Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [qvto-dev] Nested exception handlers (was Re: QVT 1.2 RTF Ballot 3 preview 2)

Hi Ed,

Thank you for understanding of the position which I outlined. The issue should better be switched into "closed" state.

Regards,
  Sergey.


On Thu, Feb 6, 2014 at 10:23 AM, Ed Willink <ed@xxxxxxxxxxxxx> wrote:
Hi Sergey

After a little thought, I agree completely. The Issue 19178 resolution is rubbish.  C++ prohibits nested exceptions in destructors, not in handlers. QVTo has no destructors so there is no analoguous problem.

Unfortunately a little thought takes us past the end of the ballot. I'm investigating what can now be done to avoid this going into 1.2.

    Regards

        Ed Willink

On 05/02/2014 16:35, Sergey Boyko wrote:
Issue 19178: What happens when an exception is thrown by an exception handler.

Absolutely unrelated topic. QVTo takes Java approach so nested exception is allowed and processed normally. 
Link to C++ is misinterpreted. Nested exceptions certainly are allowed and widely used in C++.

It seems that proposed resolution implied SEH (Structured Exception Handling, SEH) exceptions instead of typed C++.  SEH comes from OS and was designed for C. MSDN says "Structured exception handling works with C and C++ source files. However, it is not specifically designed for C++." So they are definitely not an example for QVTo.

The issue should be closed (not resolved).



_______________________________________________
qvto-dev mailing list
qvto-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/qvto-dev



Back to the top