We would like to provide extra information when a record has been modified by another user
e.g. which user, when, ...
I found that if I override LogCurrentRowModifiedIssue of the DataAccess I can throw my own Exception
method protected override void LogCurrentRowModifiedIssue(phBeforeBuffer as handle):
super:LogCurrentRowModifiedIssue(phBeforeBuffer).
undo, throw new CceRecordModifiedByAnotherUserException().
end method.
1. Is this a good idea to implement it that way ?
2. I'd like to keep the original error as inner exception but the error object is not passed as an argument. It is send to LogUnableToFindDbBufferIssue.
Can you add this to LogCurrentRowModifiedIssue ?