summaryrefslogtreecommitdiff
path: root/src/exceptions.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-08-25 20:54:47 +0000
committerMike Buland <eichlan@xagasoft.com>2006-08-25 20:54:47 +0000
commit0a700ced28520be170c0965191f2450a2e4a82ac (patch)
tree6858e7178d9ddd30113824da4728729b06d018b5 /src/exceptions.h
parent0c2d075e795858779af102e932a881498e2268ae (diff)
downloadlibbu++-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.h8
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 )
8subExceptionDecl( FileException ) 8subExceptionDecl( FileException )
9subExceptionDecl( ConnectionException ) 9subExceptionDecl( ConnectionException )
10 10
11enum eConnectionException
12{
13 excodeReadError,
14 excodeBadReadError,
15 excodeConnectionClosed,
16 excodeSocketTimeout
17};
18
11#endif 19#endif