Re: Reporting Java Client EC save exceptions

2008-05-09 Thread Florijan Stamenkovic
On May 09, 2008, at 04:25, John Pollard wrote: On which context did you put that delegate? On the EODistributionContext's editing context? That is where it should go, and I find it very weird that the delegate should not be performing... I put the delegate on the default Session EC which

Re: Reporting Java Client EC save exceptions

2008-05-09 Thread John Pollard
This problem was resolved thank you, replies to David and Flor below: On 3 May 2008, David Avendasora wrote: Sorry, I would have responded sooner, but I'm out of town and just getting through my email now. Does this get you the logging you want: http://wiki.objectstyle.org/confluence/display

Re: Reporting Java Client EC save exceptions

2008-05-03 Thread David Avendasora
Sorry, I would have responded sooner, but I'm out of town and just getting through my email now. Does this get you the logging you want: http://wiki.objectstyle.org/confluence/display/WO/Java+Client+-+Get+Server-Side+Stack+Trace This gives me the stake-trace in the server log (Eclipse console

Re: Reporting Java Client EC save exceptions

2008-05-02 Thread John Pollard
Hi Florijan, I hope your hang-over has passed. Yes, I do a lot of passing back client exceptions to the server and logging server exceptions on the client etc. In this case the server exception being passed to the client is null, so nothing to report from the client unfortunately. John On

Re: Reporting Java Client EC save exceptions

2008-05-02 Thread Florijan Stamenkovic
I have a server side EC delegate class which has a method: editingContextShouldPresentException() which isn't being called when my exception occurs. On which context did you put that delegate? On the EODistributionContext's editing context? That is where it should go, and I find it very w

Re: Reporting Java Client EC save exceptions

2008-05-02 Thread Florijan Stamenkovic
If my hung-over memory serves me right, you have access to the original server-side exception on the client, it is encapsulated in the exception you actually catch, no? If that is true, a quick-fix would be to simply send that exception back to the server using RMI and log it. Dirty, I know

Reporting Java Client EC save exceptions

2008-05-02 Thread John C Pollard
When a Java Client EC saveChanges() is invoked, it makes its way to the server side EC saveChanges(), but I'm struggling to catch and report exceptions. My client is told that a server side exception occurred, but I want to know about it in the server log. I have a server side EC delegate c