mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 10:55:50 +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
|
@ -29,7 +29,7 @@ public class BitVecNum extends BitVecExpr
|
|||
*
|
||||
* @throws Z3Exception
|
||||
**/
|
||||
public int getInt() throws Z3Exception
|
||||
public int getInt()
|
||||
{
|
||||
Native.IntPtr res = new Native.IntPtr();
|
||||
if (Native.getNumeralInt(getContext().nCtx(), getNativeObject(), res) ^ true)
|
||||
|
@ -42,7 +42,7 @@ public class BitVecNum extends BitVecExpr
|
|||
*
|
||||
* @throws Z3Exception
|
||||
**/
|
||||
public long getLong() throws Z3Exception
|
||||
public long getLong()
|
||||
{
|
||||
Native.LongPtr res = new Native.LongPtr();
|
||||
if (Native.getNumeralInt64(getContext().nCtx(), getNativeObject(), res) ^ true)
|
||||
|
@ -72,7 +72,7 @@ public class BitVecNum extends BitVecExpr
|
|||
}
|
||||
}
|
||||
|
||||
BitVecNum(Context ctx, long obj) throws Z3Exception
|
||||
BitVecNum(Context ctx, long obj)
|
||||
{
|
||||
super(ctx, obj);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue