mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
Turned Z3Exception into a RuntimeException such that throws declarations are not needed anymore. Thanks to codeplex user steimann for this suggestion.
This commit is contained in:
parent
2f4c923216
commit
b7bb53406f
62 changed files with 834 additions and 834 deletions
|
@ -26,19 +26,19 @@ public class FiniteDomainSort extends Sort
|
|||
* The size of the finite domain sort.
|
||||
* @throws Z3Exception on error
|
||||
**/
|
||||
public long getSize() throws Z3Exception
|
||||
public long getSize()
|
||||
{
|
||||
Native.LongPtr res = new Native.LongPtr();
|
||||
Native.getFiniteDomainSortSize(getContext().nCtx(), getNativeObject(), res);
|
||||
return res.value;
|
||||
}
|
||||
|
||||
FiniteDomainSort(Context ctx, long obj) throws Z3Exception
|
||||
FiniteDomainSort(Context ctx, long obj)
|
||||
{
|
||||
super(ctx, obj);
|
||||
}
|
||||
|
||||
FiniteDomainSort(Context ctx, Symbol name, long size) throws Z3Exception
|
||||
FiniteDomainSort(Context ctx, Symbol name, long size)
|
||||
{
|
||||
super(ctx, Native.mkFiniteDomainSort(ctx.nCtx(), name.getNativeObject(),
|
||||
size));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue