本文整理了Java中org.jbundle.base.db.Record.handleErrorReturn
方法的一些代码示例,展示了Record.handleErrorReturn
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Record.handleErrorReturn
方法的具体详情如下:
包路径:org.jbundle.base.db.Record
类名称: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;
内容来源于网络,如有侵权,请联系作者删除!