Results 1 to 2 of 2

Thread: Exceptions not Serializable

  1. #1

    Default Exceptions not Serializable

    Hello

    We have a remote service utilizing Spring-Ldap. We'd like to be able to return exceptions to the service caller, however they're not Serializable.

    IMHO, it would be great for a future release to include Serializable exceptions.

    Best Regards,
    Jasper

  2. #2
    Join Date
    Mar 2005
    Location
    Landskrona, Sweden
    Posts
    505

    Default

    The exceptions thrown by the Spring LDAP classes inherit from Spring's DataAccessExceptions, which in turn implements Serializable. Unfortunately I guess that the wrapped NamingException is probably not Serializable however, which would probably be what's causing your trouble.

    In the general case I think it would be difficult not to wrap the original NamingException but this would probably be something for us to take a look at. Please post a Jira issue.
    Mattias Arthursson
    Jayway AB (www.jayway.se)
    Spring-LDAP project member

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •