CatalogException

Base class for every failure the catalog raises on its own account.

Deliberately not a subclass of StoreException: that type is sealed, and it should stay sealed — a caller catching it is asking about the storage engine, and a sketch that will not decode has not cost them a document. The distinction is the point. Sketches are derived data: every one of these failures is recoverable by rescanning the segment it came from, which is what SchemaCatalog.rebuild does.

Ordinary IO failures are not wrapped, for the same reason the core does not wrap them: a full disk is an java.io.IOException and the operating system's own diagnosis is the useful part.

Inheritors

Properties

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