Annotation of parser3/src/doc/exception.dox, revision 1.3
1.3 ! paf 1: /** @page Exceptions Exceptions: work with errors
1.2 paf 2:
1.3 ! paf 3: All exceptions in Parser have type Exception. If a problem arises,
! 4: one should throw C++ exception of that type
1.2 paf 5: @code
1.3 ! paf 6: throw Exception("exception class",
! 7: &string, // address of String, containing text/source of error
! 8: "problem %d", error_code);
1.2 paf 9: @endcode
10:
1.3 ! paf 11: "exception class" should be one of <a href="http://parser.ru/en/docs/lang/parserexceptions.htm">system</a>,
! 12: or your own (invent a good one!), or 0.
1.2 paf 13: */
E-mail: