corda / net.corda.core.utilities / java.util.concurrent.Future / getOrThrow

getOrThrow

fun <V> Future<V>.getOrThrow(timeout: Duration? = null): V

Same as Future.get except that the ExecutionException is unwrapped.