diff options
author | Morgan Deters <mdeters@gmail.com> | 2012-08-06 22:05:12 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2012-08-06 22:05:12 +0000 |
commit | a99a3693b2c69ffd6a4268c9020593f62a3474eb (patch) | |
tree | f71e299b8ba2de95141d5ccfc3a150fd8b1b97b1 /src/smt/smt_engine.h | |
parent | cc8385b0dbb58419d91e3349a0fd52f6b8452d90 (diff) |
Support setting :regular-output-channel and :diagnostic-output-channel.
Also some cleanup of option-related exceptions infrastructure.
Diffstat (limited to 'src/smt/smt_engine.h')
-rw-r--r-- | src/smt/smt_engine.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/smt/smt_engine.h b/src/smt/smt_engine.h index 52a2e0c27..505a2d8d8 100644 --- a/src/smt/smt_engine.h +++ b/src/smt/smt_engine.h @@ -30,7 +30,6 @@ #include "expr/expr_manager.h" #include "util/proof.h" #include "util/model.h" -#include "smt/bad_option_exception.h" #include "smt/modal_exception.h" #include "smt/no_such_function_exception.h" #include "util/hash.h" @@ -303,25 +302,25 @@ public: * Set information about the script executing. */ void setInfo(const std::string& key, const CVC4::SExpr& value) - throw(BadOptionException, ModalException); + throw(OptionException, ModalException); /** * Query information about the SMT environment. */ CVC4::SExpr getInfo(const std::string& key) const - throw(BadOptionException, ModalException); + throw(OptionException, ModalException); /** * Set an aspect of the current SMT execution environment. */ void setOption(const std::string& key, const CVC4::SExpr& value) - throw(BadOptionException, ModalException); + throw(OptionException, ModalException); /** * Get an aspect of the current SMT execution environment. */ CVC4::SExpr getOption(const std::string& key) const - throw(BadOptionException); + throw(OptionException); /** * Add a formula to the current context: preprocess, do per-theory |