mirror of
https://github.com/corda/corda.git
synced 2025-06-17 22:58:19 +00:00
Annotate verify() function to indicate it throws IllegalArgumentException
This commit is contained in:
@ -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)
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user