diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-16 18:57:34 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-16 18:57:34 +0100 |
commit | 597497938a96b14f327345adb00dfcfd080208a3 (patch) | |
tree | d5ce78df6c5a234dc0ffa19c6357d805555f5122 /qbuffers.h | |
parent | de99e1068e3158866c0a537c27f035ae3d350d1a (diff) | |
download | sciteco-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.h | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -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 { |