File:  [parser3project] / parser3 / src / doc / exception.dox
Revision 1.3: download - view: text, annotated - select for diffs - revision graph
Tue Mar 30 08:32:17 2004 UTC (22 years, 2 months ago) by paf
Branches: MAIN
CVS tags: release_3_5_1, release_3_5_0, release_3_4_6, release_3_4_5, release_3_4_4, release_3_4_3, release_3_4_2, release_3_4_1, release_3_4_0, release_3_3_0, release_3_2_3, release_3_2_2, release_3_2_1, release_3_2_0, release_3_1_6, release_3_1_5, release_3_1_4, release_3_1_3, paf_left, HEAD
merged bugfixes from 3.1.2, changed version to 3.1.3beta

/**	@page Exceptions Exceptions: work with errors

All exceptions in Parser have type Exception. If a problem arises,
one should throw C++ exception of that type
@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 <a href="http://parser.ru/en/docs/lang/parserexceptions.htm">system</a>, 
or your own (invent a good one!), or 0.
*/

E-mail: