|
|
| version 1.76, 2001/09/30 09:56:43 | version 1.77, 2001/10/08 16:42:06 |
|---|---|
| Line 51 static void _int(Request& r, const Strin | Line 51 static void _int(Request& r, const Strin |
| rethrow_me=e; | rethrow_me=e; |
| converted=0; | converted=0; |
| } else | } else |
| converted=params->as_int(0, r); // (default) | converted=params->as_int(0, "default must be int", r); // (default) |
| } | } |
| PEND_CATCH | PEND_CATCH |
| if(convert_problem) | if(convert_problem) |
| Line 76 static void _double(Request& r, const St | Line 76 static void _double(Request& r, const St |
| rethrow_me=e; | rethrow_me=e; |
| converted=0; | converted=0; |
| } else | } else |
| converted=params->as_double(0, r); // (default) | converted=params->as_double(0, "default must be double", r); // (default) |
| } | } |
| PEND_CATCH | PEND_CATCH |
| if(convert_problem) | if(convert_problem) |