From 0a700ced28520be170c0965191f2450a2e4a82ac Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 25 Aug 2006 20:54:47 +0000 Subject: Added tests and exception codes, so you're program can tell just how bad things really are. --- src/exceptions.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/exceptions.h') 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 ) subExceptionDecl( FileException ) subExceptionDecl( ConnectionException ) +enum eConnectionException +{ + excodeReadError, + excodeBadReadError, + excodeConnectionClosed, + excodeSocketTimeout +}; + #endif -- cgit v1.2.3