Opened 11 years ago
Closed 11 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: |
Description
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 , 11 years ago
Owner: | set to |
---|
comment:2 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed r7666