Opened 9 years ago

Last modified 7 years ago

#2524 closed task

Review places where argument / null reference exceptions are thrown — at Version 1

Reported by: jng Owned by: jng
Priority: low Milestone: 3.0
Component: General Version:
Severity: trivial Keywords:
Cc: External ID:

Description (last modified by jng)

There are still some places in the MapGuide codebase where naked MgNullArgumentException and MgNullReferenceException objects are thrown.

Cases where these are thrown provide no useful context for the developer as it lack key important information: The name of the argument that is null.

We already have a CHECKARGUMENTNULL() and CHECKNULL() macros to inject the argument name when throwing the exception. We need to find all cases where such exceptions are still manually thrown and replace them with this macro.

Change History (1)

comment:1 by jng, 9 years ago

Description: modified (diff)
Summary: Review places where argument exceptions are thrownReview places where argument / null reference exceptions are thrown
Note: See TracTickets for help on using tickets.