35 |
#include <vector> |
#include <vector> |
36 |
#include <map> |
#include <map> |
37 |
#include <time.h> |
#include <time.h> |
38 |
|
#include <stdarg.h> |
39 |
|
|
40 |
#ifndef __has_extension |
#ifndef __has_extension |
41 |
# define __has_extension(x) 0 |
# define __has_extension(x) 0 |
1174 |
public: |
public: |
1175 |
String Message; |
String Message; |
1176 |
|
|
1177 |
Exception(String Message) { Exception::Message = Message; } |
Exception(String format, ...); |
1178 |
|
Exception(String format, va_list arg); |
1179 |
void PrintMessage(); |
void PrintMessage(); |
1180 |
virtual ~Exception() {} |
virtual ~Exception() {} |
1181 |
|
|
1182 |
|
protected: |
1183 |
|
Exception(); |
1184 |
|
static String assemble(String format, va_list arg); |
1185 |
}; |
}; |
1186 |
|
|
1187 |
} // namespace Serialization |
} // namespace Serialization |