Uses of Class
org.h2.message.DbException
Packages that use DbException
Package
Description
This package contains the parser and the base classes for prepared SQL statements.
Contains DML (data manipulation language) and related SQL statements.
Contains high level classes of the database and classes that don't fit in another sub-package.
Expressions include mathematical operations, simple values, and others.
Table value functions.
Various table index implementations, as well as cursors to navigate in an index.
Trace (logging facility) and error message tool.
Helper classes to use the MVStore in the H2 database.
Schema implementation and objects that are stored in a schema (for example, sequences and constants).
Storage abstractions, such as a file with a cache, or a class to convert values to a byte array and vice versa.
Classes related to a table and table meta data.
Internal utility classes.
Data type and value implementations.
-
Uses of DbException in org.h2.command
Methods in org.h2.command that return DbExceptionModifier and TypeMethodDescriptionprivate static DbExceptionParser.getInvalidNumericPrecisionException(long precision) private static DbExceptionParser.getInvalidPrecisionException(DataType dataType, long precision) private DbExceptionParser.getSyntaxError()private DbExceptionParser.getTableOrViewNotFoundDbException(String tableName) private DbExceptionParser.getTableOrViewNotFoundDbException(String schemaName, String tableName) private DbExceptionParser.getTableOrViewNotFoundDbException(Set<String> schemaNames, String tableName) private DbExceptionParser.intervalDayError()private DbExceptionParser.intervalHourError()private DbExceptionParser.intervalQualifierError()protected DbExceptionPrepared.setRow(DbException e, long rowId, String values) Set the SQL statement of the exception to the given row.Methods in org.h2.command with parameters of type DbExceptionModifier and TypeMethodDescriptionprivate longCommand.filterConcurrentUpdate(DbException e, long start) protected DbExceptionPrepared.setRow(DbException e, long rowId, 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 DbExceptionModifier and TypeMethodDescriptionprivate booleanInsert.handleOnDuplicate(DbException de, Value[] currentRow) -
Uses of DbException in org.h2.engine
Fields in org.h2.engine with type parameters of type DbExceptionModifier and TypeFieldDescriptionprivate final AtomicReference<DbException> Database.backgroundExceptionMethods in org.h2.engine that return DbExceptionModifier and TypeMethodDescription(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 DbExceptionModifier and TypeMethodDescriptionvoidDatabase.setBackgroundException(DbException e) private static voidMetaRecord.throwException(Database db, DatabaseEventListener listener, DbException e, String sql) -
Uses of DbException in org.h2.expression
Methods in org.h2.expression that return DbExceptionModifier and TypeMethodDescriptionExpressionColumn.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 DbExceptionModifier and TypeMethodDescriptionvoidParameterInterface.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 -
Uses of DbException in org.h2.index
Methods in org.h2.index that return DbExceptionModifier and TypeMethodDescriptionIndex.getDuplicateKeyException(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 DbExceptionMethods in org.h2.message that return DbExceptionModifier and TypeMethodDescriptionSet the SQL statement of the given exception.static DbExceptionConvert a throwable to an SQL exception using the default mapping.static DbExceptionDbException.convertInvocation(InvocationTargetException te, String message) Convert an InvocationTarget exception to a database exception.static DbExceptionDbException.convertIOException(IOException e, String message) Convert an IO exception to a database exception.static DbExceptionCreate a database exception for an arbitrary SQLState.static DbExceptionDbException.get(int errorCode) Create a database exception for a specific error code.static DbExceptionCreate a database exception for a specific error code.static DbExceptionCreate a database exception for a specific error code.static DbExceptionCreate a database exception for a specific error code.static DbExceptionDbException.getFileVersionError(String dataFileName) Gets a file version exception.static DbExceptionDbException.getInvalidExpressionTypeException(String param, Typed e) Gets a SQL exception meaning the type of expression is invalid or unknown.static DbExceptionDbException.getInvalidValueException(String param, Object value) Gets a SQL exception meaning this value is invalid.static DbExceptionDbException.getSyntaxError(int errorCode, String sql, int index, String... params) Create a syntax error exception for a specific error code.static DbExceptionDbException.getSyntaxError(String sql, int index) Create a syntax error exception.static DbExceptionDbException.getSyntaxError(String sql, int index, String message) Create a syntax error exception.static DbExceptionDbException.getUnsupportedException(String message) Gets a SQL exception meaning this feature is not supported.static DbExceptionDbException.getValueTooLongException(String columnOrType, 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 DbExceptionModifier and TypeMethodDescription(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 DbExceptionModifier and TypeMethodDescriptionprivate DbExceptionTriggerObject.getErrorExecutingTrigger(Throwable e) -
Uses of DbException in org.h2.store
Methods in org.h2.store that return DbExceptionModifier and TypeMethodDescriptionprivate DbExceptionFileLock.getExceptionAlreadyInUse(String reason) private static DbExceptionFileLock.getExceptionFatal(String reason, Throwable t) Methods in org.h2.store that throw DbExceptionModifier and TypeMethodDescriptionvoidDataHandler.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 DbExceptionModifier and TypeFieldDescriptionprivate DbExceptionTableLink.connectExceptionprivate DbExceptionTableView.createExceptionMethods in org.h2.table that return DbExceptionModifier and TypeMethodDescriptionprivate DbExceptionColumn.getDataConversionError(Value value, DbException cause) TableView.recompile(SessionLocal session, boolean force, boolean clearIndexCache) Re-compile the view query and all views that depend on this object.static DbExceptionTableLink.wrapException(String sql, Exception ex) Wrap a SQL exception that occurred while accessing a linked table.Methods in org.h2.table with parameters of type DbExceptionModifier and TypeMethodDescriptionprivate 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 DbExceptionModifier and TypeMethodDescriptionprivate static DbExceptionStringUtils.getFormatException(String s, int i) private static DbExceptionStringUtils.getHexStringException(int code, String s, int start, int end) -
Uses of DbException in org.h2.value
Methods in org.h2.value that return DbExceptionModifier and TypeMethodDescription(package private) DbExceptionValueLob.getBinaryTooLong(long precision) (package private) final DbExceptionValue.getDataConversionError(int targetType) Creates new instance of the DbException for data conversion error.(package private) final 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 final DbExceptionValue.getUnsupportedExceptionForOperation(String op) Create an exception meaning the specified operation is not supported for this data type.(package private) final DbExceptionValue.getValueTooLongException(TypeInfo targetType, Object column)