Opened 13 years ago
Last modified 13 years ago
#2013 closed enhancement
Improve error message quality of exceptions — at Version 1
Reported by: | jng | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 2.4 |
Component: | General | Version: | |
Severity: | trivial | Keywords: | |
Cc: | External ID: |
Description (last modified by )
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
- MgObjectNotFoundException - Should include the name whose associated object could not be found
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.
Note:
See TracTickets
for help on using tickets.