mirror of
https://github.com/Z3Prover/z3
synced 2025-04-25 18:15:32 +00:00
Java API: Added exception wrappers and build dependencies.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
parent
654c02701c
commit
0c1f2a8281
47 changed files with 4908 additions and 4554 deletions
|
@ -37,7 +37,7 @@ public class Sort extends AST
|
|||
*
|
||||
* @return
|
||||
**/
|
||||
public boolean Equals(Object o)
|
||||
public boolean equals(Object o)
|
||||
{
|
||||
Sort casted = (Sort) o;
|
||||
if (casted == null)
|
||||
|
@ -86,7 +86,13 @@ public class Sort extends AST
|
|||
**/
|
||||
public String toString()
|
||||
{
|
||||
return Native.sortToString(Context().nCtx(), NativeObject());
|
||||
try
|
||||
{
|
||||
return Native.sortToString(Context().nCtx(), NativeObject());
|
||||
} catch (Z3Exception e)
|
||||
{
|
||||
return "Z3Exception: " + e.getMessage();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue