Opened 13 years ago

Closed 13 years ago

#2005 closed defect (fixed)

Where applicable, MgFdoExceptions should be thrown with associated Feature Source information

Reported by: jng Owned by:
Priority: low Milestone: 2.4
Component: Feature Service Version:
Severity: trivial Keywords:
Cc: External ID:

Description

The key motivation for this ticket is #739

As is obvious from that particular ticket, sometimes we need to know the Feature Source ID that is associated with a thrown MgFdoException in order to better diagnose the problem.

Currently all these exceptions are thrown through an intricate set of pre-defined macros that do not include the feature source id.

The solution is to offer an alternate set of macros that take an MgResourceIdentifier, and where applicable in MgServerFeatureService, use these alternate macros instead.

Attachments (1)

MgFdoExceptionWithFeatureSourceId.patch (13.1 KB ) - added by jng 13 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by jng, 13 years ago

With the attached patch where applicable, errors that were:

An exception occurred in FDO component. <message>

Now look like this:

An exception occurred in FDO component. Error occurred in Feature Source (<feature source id>) <message>

comment:2 by jng, 13 years ago

Resolution: fixed
Status: newclosed

Fixed in trunk (r6715) and 2.4 (r6712)

Note: See TracTickets for help on using tickets.