On Jan 22, 2008, at 12:01 , Andrus Adamchik wrote:
> If this exception is to be caught on the client (and if it works), I
> suggest we move it to the "org.apache.cayenne.remote" package to
> indicate that it needs to be present on both server and client.
That would be great. I would prefer someone else (than me) fixing this
as I do not have any java ROP client.
- Tore.
>
>
> Andrus
>
>
> On Jan 22, 2008, at 10:30 AM, Tore Halset wrote:
>
>> Hello.
>>
>> I think I added MissingSessionException on the serverside to
>> support the cocoa client. It is working for the cocoa client, but I
>> do not think I tested it with a normal java ROP client.
>>
>> - Tore.
>>
>> On Jan 22, 2008, at 9:17 , Aristedes Maniatis wrote:
>>
>>> OK, I've got one more client/server issue which arose when I
>>> upgraded our code to 3.0M3 and used the server/client Cayenne jars
>>> (I previously had the full jar at both ends).
>>> org.apache.cayenne.remote.service.MissingSessionException is not
>>> available on the client.
>>>
>>> We use it on the client like this to detect a lost connection:
>>>
>>> if (e.getCause() instanceof MissingSessionException) ....
>>>
>>>
>>> but this has never actually worked, so perhaps I've misunderstood
>>> its purpose.
>>>
>>> * should this be available on the client? I'd think that any
>>> exception which might be propagated across Hessian should be
>>> available on the client.
>>> * should it be working as I've used above?
>>>
>>>
>>>
>>> Cheers
>>> Ari
>>>
>>>
>>>
>>>
>>>
>>> -------------------------->
>>> ish
>>> http://www.ish.com.au
>>> Level 1, 30 Wilson Street Newtown 2042 Australia
>>> phone +61 2 9550 5001 fax +61 2 9550 4001
>>> GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
>>>
>>>
>>>
>>
>>
>
>
This archive was generated by hypermail 2.0.0 : Tue Jan 22 2008 - 07:38:59 EST