| Modifier and Type | Class and Description |
|---|---|
class |
ConfigInvalidException
Indicates that a configuration value is present but not in a usable format.
|
class |
ConfigMissingException
Indicates that a configuration value is required but was not present.
|
class |
ConstraintViolationException
This exception will be thrown when a condition arises that violates
a stated invariant regarding the database.
|
class |
QueryTimedOutException
Thrown when a query is interrupted because a timeout was exceeded or it was
explicitly cancelled.
|
class |
WrongNumberOfRowsException
Thrown when inserting/updating rows and the actual number of rows modified does
not match the expected number of rows.
|
| Modifier and Type | Method and Description |
|---|---|
static DatabaseException |
DatabaseException.wrap(String message,
Throwable cause)
Wrap an exception with a DatabaseException, taking into account all known
subtypes such that we wrap subtypes in a matching type (so we don't obscure
the type available to catch clauses).
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DatabaseImpl.tableExists(String tableName) |
boolean |
DatabaseImpl.tableExists(String tableName,
String schemaName) |
Copyright © 2020. All rights reserved.