QVT 1.0 NO IDEA Avatar
  1. OMG Issue

QVT — Argument list missing in raise expression

  • Key: QVT-42
  • Legacy Issue Number: 11062
  • Status: closed  
  • Source: France Telecom R&D ( Mariano Belaunde)
  • Summary:

    The RaiseExp does not allow the possibility to pass ramaters to the exception.
    Also, the use of strings instead of exception class references should be clarified

  • Reported: QVT 1.0b1 — Thu, 24 May 2007 04:00 GMT
  • Disposition: Resolved — QVT 1.0
  • Disposition Summary:

    (1) In Section 10.2.2.14 RaiseExp, add the following property:
    argument : OclExpression [0..1]

    {composes}

    - The argument accompagning the raised exception
    (2) Apply update of diagram Figure 8.6 as defined in Appendix D Updated Diagrams -2nd ballot..
    (3) Within the Notation sub-section, after "can be provided a simple strings." Add the sentence: In that case the implicit referred exception is the user Exception defined in the QVT standard library and the string is the argument of the raise expression.
    (4) Within the Section 8.3.1 Predefined Types, add, after Status definition, a new sub-section named Exception with the following definition:
    "This M1 class named Exception represents a base class for all instantiated Exceptions. It is itself an instance of the Exception metatype.

    For any impact in BNF see resolution of issue 10026.

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