|
|
| version 1.30, 2014/06/29 22:55:21 | version 1.31, 2014/06/29 23:00:50 |
|---|---|
| Line 193 static void _def(Request& r, MethodParam | Line 193 static void _def(Request& r, MethodParam |
| const String& name=params.as_string(1, "name must be string"); | const String& name=params.as_string(1, "name must be string"); |
| r.write_no_lang(VBool::get(r.get_class(name)!=0)); | r.write_no_lang(VBool::get(r.get_class(name)!=0)); |
| } else { | } else { |
| throw Exception(PARSER_RUNTIME, &type, "is invalid type, must be '%s'", def_class); | throw Exception(PARSER_RUNTIME, &type, "is invalid type, must be '%s'", def_class.cstr()); |
| } | } |
| } | } |