[Mapguide-trac] [mapguide-trac] #2013: Improve error message quality of exceptions
MapGuide Open Source
trac_mapguide at osgeo.org
Tue May 29 23:03:09 PDT 2012
#2013: Improve error message quality of exceptions
---------------------------+------------------------------------------------
Reporter: jng | Owner:
Type: enhancement | Status: new
Priority: low | Milestone: 2.4
Component: General | Version:
Severity: trivial | Keywords:
External_id: |
---------------------------+------------------------------------------------
There are a series of exceptions thrown in MapGuide that could be easily
improved in terms of clarity. For example:
* MgNullArgumentException - Should include the identifier that failed the
null pointer check
* MgNullReferenceException - Should include the identifier that failed
the null reference check
Most of these exceptions are thrown by pre-defined macros like
CHECKARGUMENTNULL(), etc. So a simple modification to these macros where
applicable to include the stringified argument being checked will result
in clearer error messages being included.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2013>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list