Ticket #11 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

COBIA error handling issues

Reported by: jasper Owned by: jasper
Priority: minor Milestone: Phase II
Component: COBIA core Version: 1.0
Keywords: Cc:

Description

COException COBIA objects raised by COMBIA are not properly handled by COBIA wrappers

Change History

comment:1 Changed 4 years ago by jasper

  • Status changed from new to closed
  • Resolution set to fixed

Variant and other utility functions that raise a COException are within COMBIA adapter blocks. The COMBIA adapters do not know about COException, so catch it as std::exception. The what() member of COException was unimplemented (fixed), but this route requires conversion back and forth to UTF8 (as per what() signature). The proper solution is to raise COBIA::cape_open_error mostly everywhere (fixed), except when a COM error code is requried (not supported by cape_open_error), so for this reason COException is retained.

Fixes checked in as @105.

Fixes are included in new temporary development installer: https://www.amsterchem.com/temp/COBIA-bin-devel-0.0.3.3.exe

comment:2 Changed 4 years ago by michelpons

  • Version set to 1.0
  • Milestone set to Phase II Runtime

comment:3 Changed 4 years ago by michelpons

  • Milestone changed from Phase II Runtime to Phase II
Note: See TracTickets for help on using tickets.