3
0
Fork 0
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:
Christoph M. Wintersteiger 2015-04-08 13:16:32 +01:00
parent 2f4c923216
commit b7bb53406f
62 changed files with 834 additions and 834 deletions

View file

@ -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);
}