MissingSessionException

From: Aristedes Maniatis (ar..sh.com.au)
Date: Tue Jan 22 2008 - 03:17:00 EST

  • Next message: Tore Halset: "Re: MissingSessionException"

    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 - 03:17:45 EST