diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-08-25 20:54:47 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-08-25 20:54:47 +0000 |
commit | 0a700ced28520be170c0965191f2450a2e4a82ac (patch) | |
tree | 6858e7178d9ddd30113824da4728729b06d018b5 /src/exceptions.h | |
parent | 0c2d075e795858779af102e932a881498e2268ae (diff) | |
download | libbu++-0a700ced28520be170c0965191f2450a2e4a82ac.tar.gz libbu++-0a700ced28520be170c0965191f2450a2e4a82ac.tar.bz2 libbu++-0a700ced28520be170c0965191f2450a2e4a82ac.tar.xz libbu++-0a700ced28520be170c0965191f2450a2e4a82ac.zip |
Added tests and exception codes, so you're program can tell just how bad things
really are.
Diffstat (limited to 'src/exceptions.h')
-rw-r--r-- | src/exceptions.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/exceptions.h b/src/exceptions.h index 27aec3c..b4126b7 100644 --- a/src/exceptions.h +++ b/src/exceptions.h | |||
@@ -8,4 +8,12 @@ subExceptionDecl( XmlException ) | |||
8 | subExceptionDecl( FileException ) | 8 | subExceptionDecl( FileException ) |
9 | subExceptionDecl( ConnectionException ) | 9 | subExceptionDecl( ConnectionException ) |
10 | 10 | ||
11 | enum eConnectionException | ||
12 | { | ||
13 | excodeReadError, | ||
14 | excodeBadReadError, | ||
15 | excodeConnectionClosed, | ||
16 | excodeSocketTimeout | ||
17 | }; | ||
18 | |||
11 | #endif | 19 | #endif |