summaryrefslogtreecommitdiff
path: root/shared/serialize.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared/serialize.h')
-rw-r--r--shared/serialize.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/shared/serialize.h b/shared/serialize.h
index f1c4dc49..201d184e 100644
--- a/shared/serialize.h
+++ b/shared/serialize.h
@@ -32,12 +32,12 @@ protected:
ReadInputStream(wxInputStream& stream, const wxString& errorObjName) : stream_(stream), errorObjName_(errorObjName) {}
template <class T>
- T readNumberC(); //checked read operation
+ T readNumberC(); //throw FileError(), checked read operation
- Zstring readStringC(); //checked read operation
+ Zstring readStringC(); //throw FileError(), checked read operation
typedef boost::shared_ptr<std::vector<char> > CharArray;
- CharArray readArrayC();
+ CharArray readArrayC(); //throw FileError()
void check();
@@ -60,11 +60,11 @@ protected:
WriteOutputStream(const wxString& errorObjName, wxOutputStream& stream) : stream_(stream), errorObjName_(errorObjName) {}
template <class T>
- void writeNumberC(T number); //checked write operation
+ void writeNumberC(T number); //throw FileError(), checked write operation
- void writeStringC(const Zstring& str); //checked write operation
+ void writeStringC(const Zstring& str); //throw FileError(), checked write operation
- void writeArrayC(const std::vector<char>& buffer);
+ void writeArrayC(const std::vector<char>& buffer); //throw FileError()
void check();
bgstack15