NIMDatabaseException Class Reference

Inherits from NSObject
Declared in NIMDatabaseException.h

Overview

数据库异常信息

  exception

异常

@property (nonatomic, assign, readonly) NIMDatabaseExceptionType exception

Discussion

异常

Declared In

NIMDatabaseException.h

  message

数据库异常信息

@property (nullable, nonatomic, copy, readonly) NSString *message

Discussion

数据库异常信息

Declared In

NIMDatabaseException.h

  databasePath

数据库文件沙盒路径

@property (nullable, nonatomic, copy, readonly) NSString *databasePath

Discussion

数据库文件沙盒路径

Declared In

NIMDatabaseException.h

+ registerExceptionHandler:

注册数据库异常处理对象

+ (void)registerExceptionHandler:(id<NIMDatabaseHandleExceptionProtocol>)handler

Parameters

handler

用户自定义处理对象

Discussion

注册数据库异常处理对象

Declared In

NIMDatabaseException.h