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