|
|
| version 1.15, 2002/02/19 15:05:27 | version 1.16, 2002/03/27 15:30:34 |
|---|---|
| Line 40 static void _random(Request& r, const St | Line 40 static void _random(Request& r, const St |
| Value& range=params->as_junction(0, "range must be expression"); | Value& range=params->as_junction(0, "range must be expression"); |
| double top=r.process(range).as_double(); | double top=r.process(range).as_double(); |
| if(top<=1) | if(top<=1) |
| throw Exception(0, 0, | throw Exception("parser.runtime", |
| &method_name, | &method_name, |
| "top must be above 1 (%g)", top); | "top must be above 1 (%g)", top); |