Package | Description |
---|---|
org.h2.command |
This package contains the parser and the base classes for prepared SQL statements.
|
org.h2.engine |
Contains high level classes of the database and classes that don't fit in another sub-package.
|
org.h2.expression |
Expressions include mathematical operations, conditions, simple values, and functions.
|
org.h2.index |
Various table index implementations, as well as cursors to navigate in an index.
|
org.h2.message |
Trace (logging facility) and error message tool.
|
org.h2.store |
Storage abstractions, such as a file with a cache, or a class to convert values to a byte array and vice versa.
|
org.h2.table |
Classes related to a table and table meta data.
|
org.h2.value |
Data type and value implementations.
|
Modifier and Type | Method and Description |
---|---|
protected DbException |
Prepared.setRow(DbException e,
int rowId,
String values)
Set the SQL statement of the exception to the given row.
|
Modifier and Type | Method and Description |
---|---|
protected DbException |
Prepared.setRow(DbException e,
int rowId,
String values)
Set the SQL statement of the exception to the given row.
|
Modifier and Type | Method and Description |
---|---|
void |
Database.setBackgroundException(DbException e) |
Modifier and Type | Method and Description |
---|---|
void |
ParameterInterface.checkSet()
Check if the value is set.
|
Modifier and Type | Method and Description |
---|---|
protected DbException |
BaseIndex.getDuplicateKeyException(String key)
Create a duplicate key exception with a message that contains the index
name.
|
DbException |
PageDataIndex.getDuplicateKeyException(String key) |
DbException |
PageDataIndex.getNewDuplicateKeyException() |
Modifier and Type | Method and Description |
---|---|
DbException |
DbException.addSQL(String sql)
Set the SQL statement of the given exception.
|
static DbException |
DbException.convert(Throwable e)
Convert a throwable to an SQL exception using the default mapping.
|
static DbException |
DbException.convertInvocation(InvocationTargetException te,
String message)
Convert an InvocationTarget exception to a database exception.
|
static DbException |
DbException.convertIOException(IOException e,
String message)
Convert an IO exception to a database exception.
|
static DbException |
DbException.get(int errorCode)
Create a database exception for a specific error code.
|
static DbException |
DbException.get(int errorCode,
String... params)
Create a database exception for a specific error code.
|
static DbException |
DbException.get(int errorCode,
String p1)
Create a database exception for a specific error code.
|
static DbException |
DbException.get(int errorCode,
Throwable cause,
String... params)
Create a database exception for a specific error code.
|
static DbException |
DbException.getInvalidValueException(String param,
Object value)
Gets a SQL exception meaning this value is invalid.
|
static DbException |
DbException.getSyntaxError(String sql,
int index)
Create a syntax error exception.
|
static DbException |
DbException.getSyntaxError(String sql,
int index,
String message)
Create a syntax error exception.
|
static DbException |
DbException.getUnsupportedException(String message)
Gets a SQL exception meaning this feature is not supported.
|
Modifier and Type | Method and Description |
---|---|
void |
DataHandler.checkPowerOff()
Check if the simulated power failure occurred.
|
void |
DataHandler.checkWritingAllowed()
Check if writing is allowed.
|
Modifier and Type | Method and Description |
---|---|
DbException |
TableView.recompile(Session session,
boolean force,
boolean clearIndexCache)
Re-compile the view query and all views that depend on this object.
|
static DbException |
TableLink.wrapException(String sql,
Exception ex)
Wrap a SQL exception that occurred while accessing a linked table.
|
Modifier and Type | Method and Description |
---|---|
protected DbException |
Value.throwUnsupportedExceptionForType(String op)
Throw the exception that the feature is not support for the given data
type.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.