From 2d4c83556ee7f45fb906ea038b03589beea04ed1 Mon Sep 17 00:00:00 2001 From: Ross Nicoll Date: Thu, 28 Apr 2016 17:54:48 +0100 Subject: [PATCH] Annotate verify() function to indicate it throws IllegalArgumentException --- core/src/main/kotlin/core/Structures.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/kotlin/core/Structures.kt b/core/src/main/kotlin/core/Structures.kt index 0ce94f7115..328243ae93 100644 --- a/core/src/main/kotlin/core/Structures.kt +++ b/core/src/main/kotlin/core/Structures.kt @@ -144,6 +144,7 @@ interface Contract { * rather than an argument so that additional data can be added without breaking binary compatibility with * existing contract code. */ + @Throws(IllegalArgumentException::class) fun verify(tx: TransactionForVerification) /**