DelvaException

Base class of every exception Delva throws for data, state or storage problems. It is sealed, but the constructors of its subclasses are public, so a fake JsonStore in a test (DelvaImplementationApi) can throw what the store throws.

Arguments a caller got wrong stay IllegalArgumentException, Kotlin's convention for programming errors. Two of them are subclasses a caller can catch on their own, because their text often comes from a user: InvalidJsonPathException and InvalidCursorException.

Inheritors

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?