Opened 10 years ago

Closed 10 years ago

#2315 closed defect (fixed)

Meaningless System.Exception thrown if no proxy for unmanaged exception found

Reported by: jng Owned by: jng
Priority: low Milestone:
Component: Web API Version: 2.5.0
Severity: trivial Keywords:
Cc: External ID:


If an MgException-derived exception is thrown from the C++ code, and the .net wrapper fails to resolve an appropriate .net proxy class equivalent to throw on the managed side. A plain vanilla System.Exception is thrown.

This is not an issue, except that the exception is thrown without a message, making error diagnosis quite unhelpful.

At the very least, this exception should contain the .net class name of the proxy exception class we could not find to throw a new instance of.

Change History (2)

comment:1 by jng, 10 years ago

Owner: set to jng

comment:2 by jng, 10 years ago

Resolution: fixed
Status: newclosed

Fixed r7666

Note: See TracTickets for help on using tickets.