QVT 1.2 RTF Avatar
  1. OMG Issue

QVT12 — What happens when an exception is thrown by an exception handler

  • Key: QVT12-20
  • Legacy Issue Number: 19178
  • Status: closed  
  • Source: Model Driven Solutions ( Dr. Edward Willink)
  • 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.

  • Reported: QVT 1.1 — Fri, 10 Jan 2014 05:00 GMT
  • Disposition: Resolved — QVT 1.2
  • Disposition Summary:

    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.

  • Updated: Fri, 6 Mar 2015 20:58 GMT