Serializablepublic class RdbCorruptException extends RdbException
This exception occurs at a low probability and if it occurs, it is usually caused by a file system
or hardware issue.This class is inherited from RuntimeException. You must handle this
exception by yourself.
SystemCapability.Data#DATA_APPDATAMGR| 构造器 | 说明 |
|---|---|
RdbCorruptException() |
An no-argument constructor used to create a
RdbCorruptException instance. |
RdbCorruptException(String error) |
A parameterized constructor used to create a
RdbCorruptException instance. |
public RdbCorruptException()
RdbCorruptException instance.
You can call this method as needed.
public RdbCorruptException(String error)
RdbCorruptException instance.
Your application can call this method to pass a specific exception message to distinguish exception scenarios.
error - Indicates the exception message.