aboutsummaryrefslogtreecommitdiff
path: root/src/exceptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/exceptions.h')
-rw-r--r--src/exceptions.h43
1 files changed, 25 insertions, 18 deletions
diff --git a/src/exceptions.h b/src/exceptions.h
index 0ab2b15..b824b91 100644
--- a/src/exceptions.h
+++ b/src/exceptions.h
@@ -1,25 +1,32 @@
1#ifndef EXCEPTIONS_H 1#ifndef BU_EXCEPTIONS_H
2#define EXCEPTIONS_H 2#define BU_EXCEPTIONS_H
3 3
4#include "exceptionbase.h" 4#include "exceptionbase.h"
5#include <stdarg.h> 5#include <stdarg.h>
6 6
7subExceptionDecl( XmlException ) 7namespace Bu
8subExceptionDecl( FileException )
9subExceptionDecl( ConnectionException )
10subExceptionDecl( PluginException )
11
12enum eFileException
13{
14 excodeEOF
15};
16
17enum eConnectionException
18{ 8{
19 excodeReadError, 9 subExceptionDecl( XmlException )
20 excodeBadReadError, 10 subExceptionDecl( TafException )
21 excodeConnectionClosed, 11 subExceptionDecl( FileException )
22 excodeSocketTimeout 12 subExceptionDecl( SocketException )
23}; 13 subExceptionDecl( ConnectionException )
14 subExceptionDecl( PluginException )
15 subExceptionDecl( UnsupportedException )
16
17 enum eFileException
18 {
19 excodeEOF
20 };
21
22 enum eConnectionException
23 {
24 excodeReadError,
25 excodeWriteError,
26 excodeBadReadError,
27 excodeConnectionClosed,
28 excodeSocketTimeout
29 };
30}
24 31
25#endif 32#endif