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 DbExceptionParser. getInvalidNumericPrecisionException(long precision)private static DbExceptionParser. getInvalidPrecisionException(DataType dataType, long precision)private DbExceptionParser. getSyntaxError()private DbExceptionParser. getTableOrViewNotFoundDbException(java.lang.String tableName)private DbExceptionParser. getTableOrViewNotFoundDbException(java.lang.String schemaName, java.lang.String tableName)private DbExceptionParser. getTableOrViewNotFoundDbException(java.util.Set<java.lang.String> schemaNames, java.lang.String tableName)private DbExceptionParser. intervalDayError()private DbExceptionParser. intervalHourError()private DbExceptionParser. intervalQualifierError()protected DbExceptionPrepared. 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 longCommand. filterConcurrentUpdate(DbException e, long start)protected DbExceptionPrepared. 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 booleanInsert. 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. backgroundExceptionMethods in org.h2.engine that return DbException Modifier and Type Method Description (package private) DbExceptionConnectionInfo. getFormatException()Generate a URL format exception.static DbExceptionSessionRemote. readException(Transfer transfer)Reads an exception.Methods in org.h2.engine with parameters of type DbException Modifier and Type Method Description voidDatabase. setBackgroundException(DbException e)private static voidMetaRecord. 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 DbExceptionExpressionColumn. getColumnException(int code)Get exception to throw, with column and table info addedprivate DbExceptionBinaryOperation. getUnexpectedForcedTypeException()private DbExceptionBinaryOperation. getUnsupported(int l, int r)Methods in org.h2.expression that throw DbException Modifier and Type Method Description voidParameterInterface. checkSet()Check if the value is set.voidExpressionWithVariableParameters. doneWithParameters()This method must be called after all the parameters have been set.voidOperationN. 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 voidTableFunction. doneWithParameters() -
Uses of DbException in org.h2.index
Methods in org.h2.index that return DbException Modifier and Type Method Description DbExceptionIndex. 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 DbExceptionDbException. OOMEMethods in org.h2.message that return DbException Modifier and Type Method Description DbExceptionDbException. addSQL(java.lang.String sql)Set the SQL statement of the given exception.static DbExceptionDbException. convert(java.lang.Throwable e)Convert a throwable to an SQL exception using the default mapping.static DbExceptionDbException. convertInvocation(java.lang.reflect.InvocationTargetException te, java.lang.String message)Convert an InvocationTarget exception to a database exception.static DbExceptionDbException. convertIOException(java.io.IOException e, java.lang.String message)Convert an IO exception to a database exception.static DbExceptionDbException. fromUser(java.lang.String sqlstate, java.lang.String message)Create a database exception for an arbitrary SQLState.static DbExceptionDbException. get(int errorCode)Create a database exception for a specific error code.static DbExceptionDbException. get(int errorCode, java.lang.String p1)Create a database exception for a specific error code.static DbExceptionDbException. get(int errorCode, java.lang.String... params)Create a database exception for a specific error code.static DbExceptionDbException. get(int errorCode, java.lang.Throwable cause, java.lang.String... params)Create a database exception for a specific error code.static DbExceptionDbException. getFileVersionError(java.lang.String dataFileName)Gets a file version exception.static DbExceptionDbException. getInvalidExpressionTypeException(java.lang.String param, Typed e)Gets a SQL exception meaning the type of expression is invalid or unknown.static DbExceptionDbException. getInvalidValueException(java.lang.String param, java.lang.Object value)Gets a SQL exception meaning this value is invalid.static DbExceptionDbException. getSyntaxError(int errorCode, java.lang.String sql, int index, java.lang.String... params)Create a syntax error exception for a specific error code.static DbExceptionDbException. getSyntaxError(java.lang.String sql, int index)Create a syntax error exception.static DbExceptionDbException. getSyntaxError(java.lang.String sql, int index, java.lang.String message)Create a syntax error exception.static DbExceptionDbException. getUnsupportedException(java.lang.String message)Gets a SQL exception meaning this feature is not supported.static DbExceptionDbException. 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) DbExceptionMVTable. convertException(MVStoreException e)Convert the MVStoreException to a database exception.(package private) DbExceptionStore. 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 DbExceptionTriggerObject. 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 DbExceptionFileLock. getExceptionAlreadyInUse(java.lang.String reason)private static DbExceptionFileLock. getExceptionFatal(java.lang.String reason, java.lang.Throwable t)Methods in org.h2.store that throw DbException Modifier and Type Method Description voidDataHandler. checkPowerOff()Check if the simulated power failure occurred.voidDataHandler. 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 DbExceptionTableLink. connectExceptionprivate DbExceptionTableView. createExceptionMethods in org.h2.table that return DbException Modifier and Type Method Description private DbExceptionColumn. getDataConversionError(Value value, DbException cause)DbExceptionTableView. recompile(SessionLocal session, boolean force, boolean clearIndexCache)Re-compile the view query and all views that depend on this object.static DbExceptionTableLink. 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 DbExceptionColumn. getDataConversionError(Value value, DbException cause)private booleanTableView. 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 DbExceptionStringUtils. getFormatException(java.lang.String s, int i)private static DbExceptionStringUtils. 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) DbExceptionValueLob. getBinaryTooLong(long precision)(package private) DbExceptionValue. getDataConversionError(int targetType)Creates new instance of the DbException for data conversion error.(package private) DbExceptionValue. getDataConversionError(TypeInfo targetType)Creates new instance of the DbException for data conversion error.private static DbExceptionValue. getDataTypeCombinationException(int t1, int t2)private DbExceptionValueBigint. getOverflow()(package private) DbExceptionValueLob. getStringTooLong(long precision)protected DbExceptionValue. getUnsupportedExceptionForOperation(java.lang.String op)Create an exception meaning the specified operation is not supported for this data type.(package private) DbExceptionValue. getValueTooLongException(TypeInfo targetType, java.lang.Object column)
-