company logo

DBBaseContext :: doOnStoreError - Not stored handler

The not stored handler is called when a data instance could not be stored ta database because of an error (DBO_NotStored event).

The handler can be overloaded in specialized property context class implementations. In order to restore a valid instance state, Property::reset() should be called in the handler.

Return value:  Execution error ( int32  )

The value is usually returned from context functions or actions in order to report the result of execution. The variable may contain following values:

  • -1: function/action not executed
  • 0: function executed normally
  • 1-9: Function executed with errors. Error codes depend on the function/action called.

Implementation details

int32 DBBaseContext  :: doOnStoreError (  )