mirror of
https://github.com/Z3Prover/z3
synced 2025-04-30 04:15: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,7 +26,7 @@ public class Pattern extends AST
|
|||
/**
|
||||
* The number of terms in the pattern.
|
||||
**/
|
||||
public int getNumTerms() throws Z3Exception
|
||||
public int getNumTerms()
|
||||
{
|
||||
return Native.getPatternNumTerms(getContext().nCtx(), getNativeObject());
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ public class Pattern extends AST
|
|||
*
|
||||
* @throws Z3Exception
|
||||
**/
|
||||
public Expr[] getTerms() throws Z3Exception
|
||||
public Expr[] getTerms()
|
||||
{
|
||||
|
||||
int n = getNumTerms();
|
||||
|
@ -61,7 +61,7 @@ public class Pattern extends AST
|
|||
}
|
||||
}
|
||||
|
||||
Pattern(Context ctx, long obj) throws Z3Exception
|
||||
Pattern(Context ctx, long obj)
|
||||
{
|
||||
super(ctx, obj);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue