Skip to content

Commit fc38cd4

Browse files
authoredJun 12, 2018
Merge pull request #3 from diffblue/smowton/feature/mustnotthrow
Add MustNotThrow annotation
2 parents 6d0d21c + d8590ea commit fc38cd4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package org.cprover;
2+
3+
/**
4+
* This can be added to methods to indicate they aren't allowed to throw
5+
* exceptions. JBMC and related tools will truncate any execution path on which
6+
* they do with an ASSUME FALSE instruction.
7+
*/
8+
public @interface MustNotThrow { }

0 commit comments

Comments
 (0)
Please sign in to comment.