corda / net.corda.core.utilities / Try / getOrThrow

getOrThrow

abstract fun getOrThrow(): A

Returns the value if a Success otherwise throws the exception if a Failure.