Annotate verify() function to indicate it throws IllegalArgumentException

This commit is contained in:
Ross Nicoll
2016-04-28 17:54:48 +01:00
parent 2e680a5eee
commit 2d4c83556e

View File

@ -144,6 +144,7 @@ interface Contract {
* rather than an argument so that additional data can be added without breaking binary compatibility with * rather than an argument so that additional data can be added without breaking binary compatibility with
* existing contract code. * existing contract code.
*/ */
@Throws(IllegalArgumentException::class)
fun verify(tx: TransactionForVerification) fun verify(tx: TransactionForVerification)
/** /**