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 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.
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.
Data type and value implementations.
-
Uses of DbException in org.h2.command
Methods in org.h2.command that return DbExceptionModifier and TypeMethodDescriptionprotected 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 TypeMethodDescriptionprotected 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.engine
Methods in org.h2.engine that return DbExceptionModifier and TypeMethodDescriptionstatic DbExceptionSessionRemote.readException(Transfer transfer) Reads an exception.Methods in org.h2.engine with parameters of type DbException -
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 addedMethods 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
Methods 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.store
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
Methods in org.h2.table that return DbExceptionModifier and TypeMethodDescriptionTableView.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. -
Uses of DbException in org.h2.value
Methods in org.h2.value that return DbExceptionModifier and TypeMethodDescriptionprotected final DbExceptionValue.getUnsupportedExceptionForOperation(String op) Create an exception meaning the specified operation is not supported for this data type.