diff options
author | Kshitij Bansal <kshitij@cs.nyu.edu> | 2012-09-28 22:46:09 +0000 |
---|---|---|
committer | Kshitij Bansal <kshitij@cs.nyu.edu> | 2012-09-28 22:46:09 +0000 |
commit | 589bf879f00d2d8df4ccdaf3db28674ce3639512 (patch) | |
tree | 467b33e449ff47556388707000ab6b1edfb70411 /src/expr/expr_template.h | |
parent | 730ea7d49ae56f8674e63ac9085adf06b6adf6f5 (diff) |
Some fixes to portfolio
* respect output lang
* fix export variable for BOUND_VARIABLE
* support export of SUBRANGE_TYPE
* statistic for lastWinner, other minor stat changes
* fix running of multiple threads on checsat/query
* changes of Assert -> assert which became private
* fix some destruction time order issues
* fix Pickler with AssertionException going private
Fixed by not fixing:
* portfolio+datatypes does not work
- added ExportUnsupportedException to more places, switches
to sequential
(still TODO / decide : not switch silently, but print error)
> note: this exception now needs to be (and is) defined in expr.h
Known issues:
* problems in portfolio+quantifiers
- at least some problems appear to be because of static variables
(will be later "fixed" like the datatypes)
(this commit was certified error- and warning-free by the test-and-commit script.)
Diffstat (limited to 'src/expr/expr_template.h')
-rw-r--r-- | src/expr/expr_template.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/expr/expr_template.h b/src/expr/expr_template.h index 96c7cfadf..4255e3454 100644 --- a/src/expr/expr_template.h +++ b/src/expr/expr_template.h @@ -132,6 +132,19 @@ public: friend class ExprManager; };/* class TypeCheckingException */ +/** + * Exception thrown in case of failure to export + */ +class CVC4_PUBLIC ExportUnsupportedException : public Exception { +public: + ExportUnsupportedException() throw(): + Exception("export unsupported") { + } + ExportUnsupportedException(const char* msg) throw(): + Exception(msg) { + } +};/* class DatatypeExportUnsupportedException */ + std::ostream& operator<<(std::ostream& out, const TypeCheckingException& e) CVC4_PUBLIC; |