corda / net.corda.core

Package net.corda.core

Exception types and some utilities for working with observables and futures.

Types

CordaOID

object CordaOID

OIDs used for the Corda platform. Entries MUST NOT be removed from this file; if an OID is incorrectly assigned it should be marked deprecated.

CordaThrowable

interface CordaThrowable

Annotations

CordaInternal

annotation class CordaInternal

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

DoNotImplement

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.

Exceptions

CordaException

open class CordaException : Exception, CordaThrowable

CordaRuntimeException

open class CordaRuntimeException : RuntimeException, CordaThrowable

Extensions for External Classes

rx.Observable

Functions

toObservable

fun <A> CordaFuture<out A>.toObservable(): Observable<A>