提交 90721f7e authored 作者: Thomas Mueller's avatar Thomas Mueller

Javadocs.

上级 600efdce
......@@ -40,14 +40,14 @@ public interface DataHandler {
*
* @throws DbException if the simulated power failure occurred
*/
void checkPowerOff();
void checkPowerOff() throws DbException;
/**
* Check if writing is allowed.
*
* @throws DbException if it is not allowed
*/
void checkWritingAllowed();
void checkWritingAllowed() throws DbException;
/**
* Free up disk space if possible.
......@@ -55,7 +55,7 @@ public interface DataHandler {
*
* @throws DbException if no more space could be freed
*/
void freeUpDiskSpace();
void freeUpDiskSpace() throws DbException;
/**
* Get the maximum length of a in-place large object
......
......@@ -130,7 +130,7 @@ public abstract class Table extends SchemaObjectBase {
* @param session the session
* @param exclusive true for write locks, false for read locks
* @param force lock even in the MVCC mode
* @throws SQLException if a lock timeout occurred
* @throws DbException if a lock timeout occurred
*/
public abstract void lock(Session session, boolean exclusive, boolean force);
......@@ -183,7 +183,7 @@ public abstract class Table extends SchemaObjectBase {
*
* @param session the session
* @param row the row
* @throws SQLException if a constraint was violated
* @throws DbException if a constraint was violated
*/
public abstract void addRow(Session session, Row row);
......@@ -200,7 +200,7 @@ public abstract class Table extends SchemaObjectBase {
/**
* Check if this table supports ALTER TABLE.
*
* @throws SQLException if it is not supported
* @throws DbException if it is not supported
*/
public abstract void checkSupportAlter();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论