--- parser3/src/doc/exception.dox 2003/07/24 11:31:20 1.2 +++ parser3/src/doc/exception.dox 2004/03/30 08:32:17 1.3 @@ -1,13 +1,13 @@ -/** @page Exceptions Exceptions: работа с ошибками +/** @page Exceptions Exceptions: work with errors -Все исключения в Parser имеют тип Exception. Если возникает проблема, -следует бросить C++ исключение этого типа +All exceptions in Parser have type Exception. If a problem arises, +one should throw C++ exception of that type @code - throw Exception("класс ошибки", - &string, // адрес String, содержащей текст/место ошибки - "проблема %d", error_code); + throw Exception("exception class", + &string, // address of String, containing text/source of error + "problem %d", error_code); @endcode -"Класс ошибки" следует задать один из системных, -придумать хороших свой, или не задавать вовсе. +"exception class" should be one of system, +or your own (invent a good one!), or 0. */