diff options
Diffstat (limited to 'src/exceptions.h')
-rw-r--r-- | src/exceptions.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/src/exceptions.h b/src/exceptions.h deleted file mode 100644 index 91e0e6d..0000000 --- a/src/exceptions.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2007-2008 Xagasoft, All rights reserved. | ||
3 | * | ||
4 | * This file is part of the libbu++ library and is released under the | ||
5 | * terms of the license contained in the file LICENSE. | ||
6 | */ | ||
7 | |||
8 | #ifndef BU_EXCEPTIONS_H | ||
9 | #define BU_EXCEPTIONS_H | ||
10 | |||
11 | #include "bu/exceptionbase.h" | ||
12 | #include <stdarg.h> | ||
13 | |||
14 | namespace Bu | ||
15 | { | ||
16 | subExceptionDecl( XmlException ) | ||
17 | subExceptionDecl( TafException ) | ||
18 | subExceptionDecl( FileException ) | ||
19 | subExceptionDecl( FifoException ) | ||
20 | subExceptionDecl( SocketException ) | ||
21 | subExceptionDecl( ConnectionException ) | ||
22 | subExceptionDecl( PluginException ) | ||
23 | subExceptionDecl( UnsupportedException ) | ||
24 | |||
25 | enum eFileException | ||
26 | { | ||
27 | excodeEOF | ||
28 | }; | ||
29 | |||
30 | enum eConnectionException | ||
31 | { | ||
32 | excodeReadError, | ||
33 | excodeWriteError, | ||
34 | excodeBadReadError, | ||
35 | excodeConnectionClosed, | ||
36 | excodeSocketTimeout | ||
37 | }; | ||
38 | } | ||
39 | |||
40 | #endif | ||