--- parser3/src/classes/file.C 2001/04/03 17:01:01 1.18 +++ parser3/src/classes/file.C 2001/04/05 18:22:56 1.19 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: file.C,v 1.18 2001/04/03 17:01:01 paf Exp $ + $Id: file.C,v 1.19 2001/04/05 18:22:56 paf Exp $ */ #include "pa_request.h" @@ -29,7 +29,7 @@ static void _save(Request& r, const Stri // forcing // ^save[this body type] r.fail_if_junction_(true, vfile_name, - method_name, "file name must not be junction"); + method_name, "file name must not be code"); // save static_cast(r.self)->save(r.absolute(vfile_name.as_string())); @@ -41,7 +41,7 @@ static void _delete(Request& r, const St // forcing // ^delete[this body type] r.fail_if_junction_(true, vfile_name, - method_name, "file name must not be junction"); + method_name, "file name must not be code"); // unlink file_delete(pool, r.absolute(vfile_name.as_string())); @@ -53,7 +53,7 @@ static void _find(Request& r, const Stri // forcing // ^delete[this body type] r.fail_if_junction_(true, vfile_name, - method_name, "file name must not be junction"); + method_name, "file name must not be code"); const String &lfile_name=vfile_name.as_string(); @@ -80,7 +80,7 @@ static void _find(Request& r, const Stri // forcing ..{this body type} Value& not_found_code=*static_cast(params->get(1)); r.fail_if_junction_(false, not_found_code, - method_name, "not-found param must be junction"); + method_name, "not-found param must be code"); r.write_pass_lang(r.process(not_found_code)); } } @@ -91,7 +91,7 @@ static void _load(Request& r, const Stri // forcing ^load[this body type] r.fail_if_junction_(true, vfile_name, - method_name, "file name must not be junction"); + method_name, "file name must not be code"); const String& lfile_name=vfile_name.as_string();