Package-level declarations

Types

Link copied to clipboard

Allows an implementing Throwable to be propagated to clients.

Link copied to clipboard
Link copied to clipboard

These methods and annotations are not part of Corda's API compatibility guarantee and applications should not use them.

Link copied to clipboard
object CordaOID

OIDs used for the Corda platform. All entries MUST be defined in this file only and they MUST NOT be removed. If an OID is incorrectly assigned, it should be marked deprecated and NEVER be reused again.

Link copied to clipboard
open class CordaRuntimeException(var originalExceptionClassName: String?, _message: String?, _cause: Throwable?) : RuntimeException, CordaThrowable
Link copied to clipboard
interface CordaThrowable
Link copied to clipboard
annotation class DoNotImplement

This annotation is for interfaces and abstract classes that provide Corda functionality to user applications. Future versions of Corda may add new methods to such interfaces and classes, but will not remove or modify existing methods.

Functions

Link copied to clipboard

Returns a DataFeed that processes errors according to the provided action.

Link copied to clipboard
fun <ELEMENT> <Error class: unknown class><ELEMENT>.mapErrors(transform: (Throwable) -> Throwable): <Error class: unknown class><ELEMENT>

Returns an Observable that transforms errors according to the provided transform function.

Returns a DataFeed that transforms errors according to the provided transform function.

Link copied to clipboard
fun <T> <Error class: unknown class><T>.toFuture(): CordaFuture<T>

Returns a CordaFuture bound to the first item emitted by this Observable. The future will complete with a NoSuchElementException if no items are emitted or any other error thrown by the Observable. If it's cancelled then it will unsubscribe from the observable.

Link copied to clipboard
fun <A> CordaFuture<out A>.toObservable(): <Error class: unknown class><A>