corda / net.corda.core / com.google.common.util.concurrent.SettableFuture / catch

catch

inline fun <T> SettableFuture<T>.catch(block: () -> T): Unit

Executes the given block and sets the future to either the result, or any exception that was thrown.