#660 closed enhancement (fixed)
Use more meaningful exception than "The value cannot be less than or equal to zero."
Reported by: | zspitzer | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 2.3 |
Component: | Rendering Service | Version: | 2.2.0 |
Severity: | major | Keywords: | |
Cc: | External ID: |
Description
a common difficulty when using mapagent is the obscure error messages returned like
"The value cannot be less than or equal to zero." with out the actual missing parameter being shown in the error message
this is often seen when using the web tier tests
a quick search
http://www.google.com/codesearch?q=MgValueCannotBeLessThanOrEqualToZero&hl=en&btnG=Search+Code
show this is a common error and occurs for times in the Rendering service
this makes using the mapagent really frustrating, copying and comparing urls to debug isn't fun
Attachments (1)
Change History (5)
comment:1 by , 16 years ago
Summary: | "The value cannot be less than or equal to zero." is meaningless with out context → Use more meaningful exception than "The value cannot be less than or equal to zero." |
---|---|
Type: | defect → enhancement |
comment:2 by , 15 years ago
Version: | 2.0.1 |
---|
Removing version from enhancement request. If this enhancement request has been addressed or is no longer required, please close ticket.
by , 14 years ago
Patch to include more fine-grained error descriptions
comment:4 by , 14 years ago
Milestone: | → 2.3 |
---|---|
Version: | → 2.2.0 |
changed to enhancement request