-
Key: IDL4CPP11-9
-
Status: open Implementation work Blocked
-
Source: Remedy IT ( Johnny Willemsen)
-
Summary:
The spec describes that with CORBA an invalid usage of union can result in a CORBA::BAD_PARAM exception, for bounded string/vector also a CORBA::BAD_PARAM, but when not using CORBA when IDL4CSP11-9 is resolved a different exception is thrown for an union (for vector it seems this still has to be added also). When a user now has appliation code that uses IDL defined data types with and without CORBA their exception code is different. In order to achieve portability of user code I think the spec should define a omg::bad_param alias type which maps to CORBA::BAD_PARAM or the selected std exception. That way user code can be written portable when the user has data types defined by IDL and wants to support use cases with and without CORBA
-
Reported: IDL4-CPP 1.0b1 — Sun, 3 Mar 2024 07:23 GMT
-
Updated: Fri, 21 Jun 2024 17:37 GMT
IDL4CPP11 — CORBA or non CORBA usage results in non compatible exceptions code
- Key: IDL4CPP11-9
- OMG Task Force: IDL4 to C++ Language Mapping (IDL4-CPP) 1.1 RTF