Package-level declarations

Types

Link copied to clipboard
class KandraAuthException(message: String, cause: Throwable? = null) : KandraException
Link copied to clipboard
open class KandraException(message: String, cause: Throwable? = null) : RuntimeException
Link copied to clipboard
class KandraMigrationException(message: String, cause: Throwable? = null) : KandraException
Link copied to clipboard
class KandraOptimisticLockException(message: String, val entityClass: KClass<*>, val partitionKey: Any) : KandraException
Link copied to clipboard
class KandraQueryException(message: String, cause: Throwable? = null) : KandraException
Link copied to clipboard
Link copied to clipboard
class KandraThrottledException(message: String, cause: Throwable? = null) : KandraException

Thrown when the driver's backpressure throttle (throttle.enabled = true) rejects a request because maxQueueSize is exceeded. Wraps the driver's raw com.datastax.oss.driver.api.core.RequestThrottlingException so callers catching Kandra's documented exception hierarchy see this instead of an undocumented DataStax type. Not a transient network fault — retrying it immediately would just add another request on top of an already-overloaded throttler, so this is never a member of RetryConfig.retryOn.