diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-07-26 19:09:50 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-07-26 19:09:50 +0000 |
commit | 9e27762c2b4c1baf5b2aff003fbc56236fd742e6 (patch) | |
tree | cd7256cea35b5a8dd7aefe3107c25a1681e83367 /src/xmlexception.h | |
parent | 2d0ffd6df450eb7cbc1e4dea841dcbf1ef9f9417 (diff) | |
download | libbu++-9e27762c2b4c1baf5b2aff003fbc56236fd742e6.tar.gz libbu++-9e27762c2b4c1baf5b2aff003fbc56236fd742e6.tar.bz2 libbu++-9e27762c2b4c1baf5b2aff003fbc56236fd742e6.tar.xz libbu++-9e27762c2b4c1baf5b2aff003fbc56236fd742e6.zip |
Partial update, don't use this release...
Diffstat (limited to 'src/xmlexception.h')
-rw-r--r-- | src/xmlexception.h | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/src/xmlexception.h b/src/xmlexception.h index 9437ba3..5cbeda7 100644 --- a/src/xmlexception.h +++ b/src/xmlexception.h | |||
@@ -5,30 +5,17 @@ | |||
5 | #include "exception.h" | 5 | #include "exception.h" |
6 | #include <stdarg.h> | 6 | #include <stdarg.h> |
7 | 7 | ||
8 | /** | 8 | subExceptionDecl( XmlException ) |
9 | * A generalized Exception base class. This is nice for making general and | 9 | |
10 | * flexible child classes that can create new error code classes. | 10 | /* |
11 | */ | ||
12 | class XmlException : public Exception | 11 | class XmlException : public Exception |
13 | { | 12 | { |
14 | public: | 13 | public: |
15 | /** | ||
16 | * Construct an exception with an error code of zero, but with a | ||
17 | * description. The use of this is not reccomended most of the time, it's | ||
18 | * generally best to include an error code with the exception so your | ||
19 | * program can handle the exception in a better way. | ||
20 | * @param sFormat The format of the text. See printf for more info. | ||
21 | */ | ||
22 | XmlException( const char *sFormat, ... ) throw(); | 14 | XmlException( const char *sFormat, ... ) throw(); |
23 | 15 | ||
24 | /** | ||
25 | * | ||
26 | * @param nCode | ||
27 | * @param sFormat | ||
28 | */ | ||
29 | XmlException( int nCode, const char *sFormat, ... ) throw(); | 16 | XmlException( int nCode, const char *sFormat, ... ) throw(); |
30 | 17 | ||
31 | XmlException( int nCode=0 ) throw(); | 18 | XmlException( int nCode=0 ) throw(); |
32 | }; | 19 | };*/ |
33 | 20 | ||
34 | #endif | 21 | #endif |