Results 1 to 8 of 8

Hybrid View

  1. #1
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    I confirm that the exceptions thrown by the table listener are just caught, in order not to interrupt the operations, but then they are discarded.
    Admittedly, this was taken from the java version of the library, where exceptions have to be declared and no exception is allowed to the listeners.

    Did you expect, for instance, that an exception on the table listener would be notified in the ConnectionListener?

  2. #2
    Member
    Join Date
    Jan 2011
    Location
    Tempe
    Posts
    6
    the only expectation i have is that unhandled listener exceptions are not silently swallowed by the LSClient and/or Connection.

    right now my only access, indirectly at that, to unhandled exceptions in a listener is by capturing and parsing the log.

    but this does nothing for reacting to exceptions in program flow.

  3. #3
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    Unfortunately, exceptions thrown by a listener are currently not even logged by the library.
    They are not expected in any way.
    Hence, your code is supposed to catch and process all exceptions before returning from any listener method.

    We acknowledge that this leaves plenty of room for improvement in terms of library usability and will evaluate a possible extension for a future release.

 

 

Similar Threads

  1. How to turn on LS client side logging?
    By LS_Developer in forum Client SDKs
    Replies: 1
    Last Post: March 20th, 2012, 08:51 AM
  2. Replies: 6
    Last Post: September 15th, 2010, 08:33 AM
  3. Client side publish support
    By pacesie in forum General
    Replies: 1
    Last Post: March 26th, 2008, 09:01 AM
  4. Replies: 1
    Last Post: February 22nd, 2008, 08:39 AM
  5. Replies: 2
    Last Post: February 5th, 2008, 05:28 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 08:06 AM.