George Karpenkov
dfc80d3b69
Do not needlessly catch exceptions in Java bindings
...
A lot of existing code in Java bindings catches exceptions just to
silence them later.
This is:
a) Unnecessary: it is OK for a function to throw a RuntimeException
without declaring it.
b) Highly unidiomatic and not recommended by Java experts (see Effective
Java and others)
c) Confusing as has the potential to hide the existing bugs and have
them resurface at the most inconvenient/unexpected moment.
2016-06-12 14:14:11 +02:00
George Karpenkov
a816b4895c
Logic simplifications
...
There is no point in writing "boolean ? true : false" instead of
"boolean"
2016-01-06 11:16:30 +01:00
George Karpenkov
1dcaddbec7
Adding @Override declarations
...
They are important, as they prevent miss-spelling the parent method and
/or arguments name.
2016-01-06 11:07:48 +01:00
Christoph M. Wintersteiger
b7bb53406f
Turned Z3Exception into a RuntimeException such that throws declarations are not needed anymore. Thanks to codeplex user steimann for this suggestion.
2015-04-08 13:16:32 +01:00
Christoph M. Wintersteiger
4304012971
Java API: copyright notices
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-10-22 16:55:08 +01:00
Christoph M. Wintersteiger
a533527004
exception message clarity fix
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-12-05 12:45:14 +00:00
Christoph M. Wintersteiger
4b18c8f9c4
Java API: syntactic adjustments, getters, setters,
...
... convenience parameters, etc.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-01-17 19:31:02 +00:00
Christoph M. Wintersteiger
0c1f2a8281
Java API: Added exception wrappers and build dependencies.
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2012-11-30 15:39:25 +00:00
Christoph M. Wintersteiger
eee3bf886d
Java API: package renaming.
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2012-11-27 19:09:30 +00:00
Christoph M. Wintersteiger
c6303fc8f5
Java API: a first version that compiles. This is still untested.
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2012-11-27 16:36:50 +00:00