summaryrefslogtreecommitdiff
path: root/src/exceptions.h
blob: cf9d47a1ec01ce6a14ea9c2bedd6eda630cd0dd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef EXCEPTIONS_H
#define EXCEPTIONS_H

#include "exceptionbase.h"
#include <stdarg.h>

subExceptionDecl( XmlException )
subExceptionDecl( FileException )
subExceptionDecl( ConnectionException )

enum eFileException
{
	excodeEOF
};
	
enum eConnectionException
{
	excodeReadError,
	excodeBadReadError,
	excodeConnectionClosed,
	excodeSocketTimeout
};

#endif