diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2006-07-26 19:16:58 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2006-07-26 19:16:58 +0000 |
| commit | 579c3ac445043122b0a702bdb2542d9ea404b62e (patch) | |
| tree | a96017529296f52a357e25de37b8c4cd052bebf5 /src/xmlexception.cpp | |
| parent | 9e27762c2b4c1baf5b2aff003fbc56236fd742e6 (diff) | |
| download | libbu++-579c3ac445043122b0a702bdb2542d9ea404b62e.tar.gz libbu++-579c3ac445043122b0a702bdb2542d9ea404b62e.tar.bz2 libbu++-579c3ac445043122b0a702bdb2542d9ea404b62e.tar.xz libbu++-579c3ac445043122b0a702bdb2542d9ea404b62e.zip | |
Exceptions have been re-worked, and are easier to use, and don't collide with
system includues anymore.
Diffstat (limited to '')
| -rw-r--r-- | src/xmlexception.cpp | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/xmlexception.cpp b/src/xmlexception.cpp deleted file mode 100644 index 9f38844..0000000 --- a/src/xmlexception.cpp +++ /dev/null | |||
| @@ -1,31 +0,0 @@ | |||
| 1 | #include "xmlexception.h" | ||
| 2 | #include <stdarg.h> | ||
| 3 | |||
| 4 | subExceptionDef( XmlException ) | ||
| 5 | |||
| 6 | /* | ||
| 7 | XmlException::XmlException( const char *lpFormat, ... ) throw() : | ||
| 8 | Exception( 0 ) | ||
| 9 | { | ||
| 10 | va_list ap; | ||
| 11 | |||
| 12 | va_start(ap, lpFormat); | ||
| 13 | setWhat( lpFormat, ap ); | ||
| 14 | va_end(ap); | ||
| 15 | } | ||
| 16 | |||
| 17 | XmlException::XmlException( int nCode, const char *lpFormat, ... ) throw() : | ||
| 18 | Exception( nCode ) | ||
| 19 | { | ||
| 20 | va_list ap; | ||
| 21 | |||
| 22 | va_start(ap, lpFormat); | ||
| 23 | setWhat( lpFormat, ap ); | ||
| 24 | va_end(ap); | ||
| 25 | } | ||
| 26 | |||
| 27 | XmlException::XmlException( int nCode ) throw() : | ||
| 28 | Exception( nCode ) | ||
| 29 | { | ||
| 30 | } | ||
| 31 | */ | ||
