aboutsummaryrefslogtreecommitdiffhomepage
path: root/qbuffers.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-16 18:57:34 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-16 18:57:34 +0100
commit597497938a96b14f327345adb00dfcfd080208a3 (patch)
treed5ce78df6c5a234dc0ffa19c6357d805555f5122 /qbuffers.h
parentde99e1068e3158866c0a537c27f035ae3d350d1a (diff)
downloadsciteco-597497938a96b14f327345adb00dfcfd080208a3.tar.gz
support different kinds of runtime errors (using C++ exceptions)
* also added some additional range checks (e.g. X command)
Diffstat (limited to 'qbuffers.h')
-rw-r--r--qbuffers.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/qbuffers.h b/qbuffers.h
index 01e7ae7..18d1462 100644
--- a/qbuffers.h
+++ b/qbuffers.h
@@ -305,58 +305,58 @@ class StateEditFile : public StateExpectString {
private:
void do_edit(const gchar *filename);
- void initial(void);
- State *done(const gchar *str);
+ void initial(void) throw (Error);
+ State *done(const gchar *str) throw (Error);
};
class StateSaveFile : public StateExpectString {
private:
- State *done(const gchar *str);
+ State *done(const gchar *str) throw (Error);
};
class StateEQCommand : public StateExpectQReg {
private:
- State *got_register(QRegister *reg);
+ State *got_register(QRegister *reg) throw (Error);
};
class StateLoadQReg : public StateExpectString {
private:
- State *done(const gchar *str);
+ State *done(const gchar *str) throw (Error);
};
class StateCtlUCommand : public StateExpectQReg {
private:
- State *got_register(QRegister *reg);
+ State *got_register(QRegister *reg) throw (Error);
};
class StateSetQRegString : public StateExpectString {
private:
- State *done(const gchar *str);
+ State *done(const gchar *str) throw (Error);
};
class StateGetQRegInteger : public StateExpectQReg {
private:
- State *got_register(QRegister *reg);
+ State *got_register(QRegister *reg) throw (Error);
};
class StateSetQRegInteger : public StateExpectQReg {
private:
- State *got_register(QRegister *reg);
+ State *got_register(QRegister *reg) throw (Error);
};
class StateIncreaseQReg : public StateExpectQReg {
private:
- State *got_register(QRegister *reg);
+ State *got_register(QRegister *reg) throw (Error);
};
class StateMacro : public StateExpectQReg {
private:
- State *got_register(QRegister *reg);
+ State *got_register(QRegister *reg) throw (Error);
};
class StateCopyToQReg : public StateExpectQReg {
private:
- State *got_register(QRegister *reg);
+ State *got_register(QRegister *reg) throw (Error);
};
namespace States {