Issue 19178: What happens when an exception is thrown by an exception handler (qvt-rtf) Source: Model Driven Solutions (Dr. Edward Willink, ed(at)willink.me.uk) Nature: Clarification Severity: Minor Summary: QVTo provides no guidance as to how a nested exception should be handled. Suggest that like C++, a nested exception is ill-formed and the transformation terminates. Resolution: The QVTo exception mechanism is lightweight. Throwing an exception while handling another makes it very difficult to guarantee that the handler for the first executes correctly. Therefore declare nested exceptions as ill-formed. Revised Text: << NB This issue is superseded by Issue 19208 >> In 8.2.2.13 TryExp add The selected exceptClause completes before the TryExp completes. Consequently if an exception is raised during execution of the exceptClause, the execution of the exceptClause cannot complete and so execution of the transformation terminates without any further changes occurring. The trace records may be examined to determine what actions the transformation performed prior to termination. Actions taken: January 10, 2014: received issue July 15, 2014: closed issue Discussion: End of Annotations:===== m: webmaster@omg.org Date: 10 Jan 2014 06:50:17 -0500 To: Subject: Issue/Bug Report ******************************************************************************* Name: Edward Willink Employer: mailFrom: ed@willink.me.uk Terms_Agreement: I agree Specification: QVT Section: 8 FormalNumber: 11-01-01 Version: 1.1 Doc_Year: 2011 Doc_Month: January Doc_Day: 01 Page: 224 Title: What happens when an exception is thrown by an exception handler Nature: Clarification Severity: Minor CODE: 3TMw8 B1: Report Issue Remote Name: edwillink.plus.com Remote User: HTTP User Agent: Mozilla/5.0 (Windows NT 6.0; rv:26.0) Gecko/20100101 Firefox/26.0 Time: 06:50 AM Description: QVTo provides no guidance as to how a nested exception should be handled. Suggest that like C++, a nested exception is ill-formed and the transformation terminates.