org.jbundle.base.db.Record.handleErrorReturn()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(2.0k)|赞(0)|评价(0)|浏览(79)

本文整理了Java中org.jbundle.base.db.Record.handleErrorReturn方法的一些代码示例,展示了Record.handleErrorReturn的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Record.handleErrorReturn方法的具体详情如下:
包路径:org.jbundle.base.db.Record
类名称:Record
方法名:handleErrorReturn

Record.handleErrorReturn介绍

[英]Called when a error happens on a file operation, return the errorcode, or fix the problem.
[中]当文件操作发生错误、返回错误代码或修复问题时调用。

代码示例

代码示例来源:origin: org.jbundle.base/org.jbundle.base

m_iRecordStatus |= DBConstants.RECORD_INVALID;
} catch (DBException ex)    {
  iErrorCode = this.getRecord().handleErrorReturn(DBConstants.AFTER_UPDATE_TYPE, ex.getErrorCode()); // Give the listeners a chance to fix the error.

代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed

m_iRecordStatus |= DBConstants.RECORD_INVALID;
} catch (DBException ex)    {
  iErrorCode = this.getRecord().handleErrorReturn(DBConstants.AFTER_UPDATE_TYPE, ex.getErrorCode()); // Give the listeners a chance to fix the error.

代码示例来源:origin: org.jbundle.base.db/org.jbundle.base.db

m_iRecordStatus |= DBConstants.RECORD_INVALID;
} catch (DBException ex)    {
  iErrorCode = this.getRecord().handleErrorReturn(DBConstants.AFTER_UPDATE_TYPE, ex.getErrorCode()); // Give the listeners a chance to fix the error.

代码示例来源:origin: org.jbundle.base/org.jbundle.base

if (ex.getErrorCode() == DBConstants.DUPLICATE_KEY)
  iErrorCode = this.getRecord().handleErrorReturn(DBConstants.AFTER_ADD_TYPE, ex.getErrorCode()); // Give the listeners a chance to fix the error.
  if (iErrorCode == DBConstants.NORMAL_RETURN)
    return;

代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed

if (ex.getErrorCode() == DBConstants.DUPLICATE_KEY)
  iErrorCode = this.getRecord().handleErrorReturn(DBConstants.AFTER_ADD_TYPE, ex.getErrorCode()); // Give the listeners a chance to fix the error.
  if (iErrorCode == DBConstants.NORMAL_RETURN)
    return;

代码示例来源:origin: org.jbundle.base.db/org.jbundle.base.db

if (ex.getErrorCode() == DBConstants.DUPLICATE_KEY)
  iErrorCode = this.getRecord().handleErrorReturn(DBConstants.AFTER_ADD_TYPE, ex.getErrorCode()); // Give the listeners a chance to fix the error.
  if (iErrorCode == DBConstants.NORMAL_RETURN)
    return;

相关文章

微信公众号

最新文章

更多

Record类方法