We have both dataabstract and remote services inside one project and we want to intercept all error messages on one place and raise our custom implementation of exception class. Is that possible for both sdks on single place and how we can achieve that?
What we tray to do is to intercept error messages inside OnWriteException event but without succes as this event is called later in hierarchy. Here is examle:
procedure TServerDataModule.MessageWriteException(Sender: TROMessage; aStream: TStream; E: Exception);
begin
e:=getRaiseErrorMessage(e.Message);
end;