IDL4-CPP 1.0b2 FTF Avatar
  1. OMG Issue

IDL4CPP — what argument of exception constructor?

  • Key: IDL4CPP-38
  • Status: closed  
  • Source: Remedy IT ( Johnny Willemsen)
  • Summary:

    In the example code it lists "AnException(int32_t error_code, const char* what)

    {...}

    ", but the what argument is not described anywhere, it is not in IDL, where is it coming from?

  • Reported: IDL4-CPP 1.0b1 — Thu, 25 Jan 2024 12:21 GMT
  • Disposition: Resolved — IDL4-CPP 1.0b2
  • Disposition Summary:

    *Add requirement for implementation of what() method in exceptions *

    Specify that the mapped Exception class shall implement the virtual what() method declared by std::exception, which the mapped Exception inherits from, and at a minimum provide a mechanism to provide such explanatory information in the explicit constructor that provides a mechanism to set the value of all exception members.

  • Updated: Mon, 16 Sep 2024 14:15 GMT