Package | Description |
---|---|
org.h2.command | |
org.h2.expression | |
org.h2.index | |
org.h2.message | |
org.h2.store | |
org.h2.table | |
org.h2.value |
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 |
ParameterInterface.checkSet()
Check if the value is set.
|
Modifier and Type | Method and Description |
---|---|
DbException |
PageDataIndex.getDuplicateKeyException() |
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 expected)
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.
|
void |
DataHandler.freeUpDiskSpace()
Free up disk space if possible.
|
Modifier and Type | Method and Description |
---|---|
DbException |
TableView.recompile(Session session,
boolean force)
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 © 2012 JBoss by Red Hat. All Rights Reserved.