1 /*-----------------------------------------------------------------------------
2 Name: StopParseException.h
3 Project: xmlBlaster.org
4 Copyright: xmlBlaster.org, see xmlBlaster-LICENSE file
5 Comment: Throw this exception to stop SAX parsing
6 -----------------------------------------------------------------------------*/
7
8 #ifndef _UTIL_STOPPARSEEXCEPTION
9 #define _UTIL_STOPPARSEEXCEPTION
10
11
12
13 namespace org { namespace xmlBlaster {
14 namespace util {
15
16 /**
17 * Throw this exception to stop SAX parsing. <p />
18 * Usually thrown in startElement() or endElement() if
19 * you are not interested in the following tags anymore.<br />
20 */
21 class Dll_Export StopParseException {
22
23 public:
24 StopParseException() {
25 }
26 };
27 }}} // namespace
28
29 #endif
syntax highlighted by Code2HTML, v. 0.9.1