diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2013-05-12 18:14:02 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2014-02-15 15:21:53 +0100 |
commit | 1f8d558597098f78aeba4ed5f70824f98dc60060 (patch) | |
tree | e3ed4e5f5fdb586ebda789d8516ec9473f5fb5ba /src/ring.h | |
parent | abfabda5f54ac903bc990340a684e14e5e2b68a5 (diff) | |
download | sciteco-1f8d558597098f78aeba4ed5f70824f98dc60060.tar.gz |
removed most exception specifications: allow bad_allocs to propagate
* specifications resulted in runtime errors (unexpected exception) when bad_alloc ocurred
* specs should be used scarcely: only when the errors that may be thrown are all known
and for documentary purposes
Diffstat (limited to 'src/ring.h')
-rw-r--r-- | src/ring.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -220,16 +220,16 @@ class StateEditFile : public StateExpectFile { private: bool allowFilename; - void do_edit(const gchar *filename) throw (Error); - void do_edit(tecoInt id) throw (Error); + void do_edit(const gchar *filename); + void do_edit(tecoInt id); - void initial(void) throw (Error); - State *done(const gchar *str) throw (Error); + void initial(void); + State *done(const gchar *str); }; class StateSaveFile : public StateExpectFile { private: - State *done(const gchar *str) throw (Error); + State *done(const gchar *str); }; namespace States { |