Announcement Announcement Module
Collapse
No announcement yet.
Exceptions not Serializable Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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.

    Comment

    Working...
    X