Uses of Class
org.h2.message.DbException
-
Packages that use DbException Package Description org.h2.command This package contains the parser and the base classes for prepared SQL statements.org.h2.command.dml Contains DML (data manipulation language) and related 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, simple values, and others.org.h2.expression.function.table Table value 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.mvstore.db Helper classes to use the MVStore in the H2 database.org.h2.schema Schema implementation and objects that are stored in a schema (for example, sequences and constants).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.util Internal utility classes.org.h2.value Data type and value implementations. -
-
Uses of DbException in org.h2.command
Methods in org.h2.command that return DbException Modifier and Type Method Description private static DbException
Parser. getInvalidNumericPrecisionException(long precision)
private static DbException
Parser. getInvalidPrecisionException(DataType dataType, long precision)
private DbException
Parser. getSyntaxError()
private DbException
Parser. getTableOrViewNotFoundDbException(java.lang.String tableName)
private DbException
Parser. getTableOrViewNotFoundDbException(java.lang.String schemaName, java.lang.String tableName)
private DbException
Parser. getTableOrViewNotFoundDbException(java.util.Set<java.lang.String> schemaNames, java.lang.String tableName)
private DbException
Parser. intervalDayError()
private DbException
Parser. intervalHourError()
private DbException
Parser. intervalQualifierError()
protected DbException
Prepared. setRow(DbException e, long rowId, java.lang.String values)
Set the SQL statement of the exception to the given row.Methods in org.h2.command with parameters of type DbException Modifier and Type Method Description private long
Command. filterConcurrentUpdate(DbException e, long start)
protected DbException
Prepared. setRow(DbException e, long rowId, java.lang.String values)
Set the SQL statement of the exception to the given row. -
Uses of DbException in org.h2.command.dml
Methods in org.h2.command.dml with parameters of type DbException Modifier and Type Method Description private boolean
Insert. handleOnDuplicate(DbException de, Value[] currentRow)
-
Uses of DbException in org.h2.engine
Fields in org.h2.engine with type parameters of type DbException Modifier and Type Field Description private java.util.concurrent.atomic.AtomicReference<DbException>
Database. backgroundException
Methods in org.h2.engine that return DbException Modifier and Type Method Description (package private) DbException
ConnectionInfo. getFormatException()
Generate a URL format exception.static DbException
SessionRemote. readException(Transfer transfer)
Reads an exception.Methods in org.h2.engine with parameters of type DbException Modifier and Type Method Description void
Database. setBackgroundException(DbException e)
private static void
MetaRecord. throwException(Database db, DatabaseEventListener listener, DbException e, java.lang.String sql)
-
Uses of DbException in org.h2.expression
Methods in org.h2.expression that return DbException Modifier and Type Method Description DbException
ExpressionColumn. getColumnException(int code)
Get exception to throw, with column and table info addedprivate DbException
BinaryOperation. getUnexpectedForcedTypeException()
private DbException
BinaryOperation. getUnsupported(int l, int r)
Methods in org.h2.expression that throw DbException Modifier and Type Method Description void
ParameterInterface. checkSet()
Check if the value is set.void
ExpressionWithVariableParameters. doneWithParameters()
This method must be called after all the parameters have been set.void
OperationN. doneWithParameters()
-
Uses of DbException in org.h2.expression.function.table
Methods in org.h2.expression.function.table that throw DbException Modifier and Type Method Description void
TableFunction. doneWithParameters()
-
Uses of DbException in org.h2.index
Methods in org.h2.index that return DbException Modifier and Type Method Description DbException
Index. getDuplicateKeyException(java.lang.String key)
Create a duplicate key exception with a message that contains the index name. -
Uses of DbException in org.h2.message
Fields in org.h2.message declared as DbException Modifier and Type Field Description private static DbException
DbException. OOME
Methods in org.h2.message that return DbException Modifier and Type Method Description DbException
DbException. addSQL(java.lang.String sql)
Set the SQL statement of the given exception.static DbException
DbException. convert(java.lang.Throwable e)
Convert a throwable to an SQL exception using the default mapping.static DbException
DbException. convertInvocation(java.lang.reflect.InvocationTargetException te, java.lang.String message)
Convert an InvocationTarget exception to a database exception.static DbException
DbException. convertIOException(java.io.IOException e, java.lang.String message)
Convert an IO exception to a database exception.static DbException
DbException. fromUser(java.lang.String sqlstate, java.lang.String message)
Create a database exception for an arbitrary SQLState.static DbException
DbException. get(int errorCode)
Create a database exception for a specific error code.static DbException
DbException. get(int errorCode, java.lang.String p1)
Create a database exception for a specific error code.static DbException
DbException. get(int errorCode, java.lang.String... params)
Create a database exception for a specific error code.static DbException
DbException. get(int errorCode, java.lang.Throwable cause, java.lang.String... params)
Create a database exception for a specific error code.static DbException
DbException. getFileVersionError(java.lang.String dataFileName)
Gets a file version exception.static DbException
DbException. getInvalidExpressionTypeException(java.lang.String param, Typed e)
Gets a SQL exception meaning the type of expression is invalid or unknown.static DbException
DbException. getInvalidValueException(java.lang.String param, java.lang.Object value)
Gets a SQL exception meaning this value is invalid.static DbException
DbException. getSyntaxError(int errorCode, java.lang.String sql, int index, java.lang.String... params)
Create a syntax error exception for a specific error code.static DbException
DbException. getSyntaxError(java.lang.String sql, int index)
Create a syntax error exception.static DbException
DbException. getSyntaxError(java.lang.String sql, int index, java.lang.String message)
Create a syntax error exception.static DbException
DbException. getUnsupportedException(java.lang.String message)
Gets a SQL exception meaning this feature is not supported.static DbException
DbException. getValueTooLongException(java.lang.String columnOrType, java.lang.String value, long valueLength)
Gets a SQL exception meaning this value is too long. -
Uses of DbException in org.h2.mvstore.db
Methods in org.h2.mvstore.db that return DbException Modifier and Type Method Description (package private) DbException
MVTable. convertException(MVStoreException e)
Convert the MVStoreException to a database exception.(package private) DbException
Store. convertMVStoreException(MVStoreException e)
Convert a MVStoreException to the similar exception used for the table/sql layers. -
Uses of DbException in org.h2.schema
Methods in org.h2.schema that return DbException Modifier and Type Method Description private DbException
TriggerObject. getErrorExecutingTrigger(java.lang.Throwable e)
-
Uses of DbException in org.h2.store
Methods in org.h2.store that return DbException Modifier and Type Method Description private DbException
FileLock. getExceptionAlreadyInUse(java.lang.String reason)
private static DbException
FileLock. getExceptionFatal(java.lang.String reason, java.lang.Throwable t)
Methods in org.h2.store that throw DbException Modifier and Type Method Description void
DataHandler. checkPowerOff()
Check if the simulated power failure occurred.void
DataHandler. checkWritingAllowed()
Check if writing is allowed. -
Uses of DbException in org.h2.table
Fields in org.h2.table declared as DbException Modifier and Type Field Description private DbException
TableLink. connectException
private DbException
TableView. createException
Methods in org.h2.table that return DbException Modifier and Type Method Description private DbException
Column. getDataConversionError(Value value, DbException cause)
DbException
TableView. recompile(SessionLocal session, boolean force, boolean clearIndexCache)
Re-compile the view query and all views that depend on this object.static DbException
TableLink. wrapException(java.lang.String sql, java.lang.Exception ex)
Wrap a SQL exception that occurred while accessing a linked table.Methods in org.h2.table with parameters of type DbException Modifier and Type Method Description private DbException
Column. getDataConversionError(Value value, DbException cause)
private boolean
TableView. isRecursiveQueryExceptionDetected(DbException exception)
Does exception indicate query recursion? -
Uses of DbException in org.h2.util
Methods in org.h2.util that return DbException Modifier and Type Method Description private static DbException
StringUtils. getFormatException(java.lang.String s, int i)
private static DbException
StringUtils. getHexStringException(int code, java.lang.String s, int start, int end)
-
Uses of DbException in org.h2.value
Methods in org.h2.value that return DbException Modifier and Type Method Description (package private) DbException
ValueLob. getBinaryTooLong(long precision)
(package private) DbException
Value. getDataConversionError(int targetType)
Creates new instance of the DbException for data conversion error.(package private) DbException
Value. getDataConversionError(TypeInfo targetType)
Creates new instance of the DbException for data conversion error.private static DbException
Value. getDataTypeCombinationException(int t1, int t2)
private DbException
ValueBigint. getOverflow()
(package private) DbException
ValueLob. getStringTooLong(long precision)
protected DbException
Value. getUnsupportedExceptionForOperation(java.lang.String op)
Create an exception meaning the specified operation is not supported for this data type.(package private) DbException
Value. getValueTooLongException(TypeInfo targetType, java.lang.Object column)
-