Serializablepublic class RdbMismatchException extends RdbException
If this exception is thrown, check the data type of the SQL statement.This class is inherited
from RuntimeException. You must handle this exception by yourself.
SystemCapability.Data#DATA_APPDATAMGR| 构造器 | 说明 |
|---|---|
RdbMismatchException() |
An no-argument constructor used to create a
RdbMismatchException instance. |
RdbMismatchException(String error) |
A parameterized constructor used to create a
RdbMismatchException instance. |
public RdbMismatchException()
RdbMismatchException instance.
You can call this method as needed.
public RdbMismatchException(String error)
RdbMismatchException instance.
Your application can call this method to pass a specific exception message to distinguish exception scenarios.
error - Indicates the exception message.