Serializablepublic class RdbLockedException extends RdbException
This exception may be thrown if data cannot be written to a table in the database.
This class is inherited from RuntimeException. You must handle this exception by yourself.
SystemCapability.Data#DATA_APPDATAMGR| 构造器 | 说明 |
|---|---|
RdbLockedException() |
An no-argument constructor used to create a
RdbLockedException instance. |
RdbLockedException(String error) |
A parameterized constructor used to create a
RdbLockedException instance. |
public RdbLockedException()
RdbLockedException instance.
You can call this method as needed.
public RdbLockedException(String error)
RdbLockedException instance.
Your application can call this method to pass a specific exception message to distinguish exception scenarios.
error - Indicates the exception message.