Hello,

the library documentation specifies, for each API call, the exceptions it may throw. LSPushConnectionException may be raised in a number of situations, in particular when an API call is made that requires a connection (e.g. subscriptions, send messages, etc.) and there is no connection available. Check the documentation, and don't hesitate to ask if you have any doubt.

Best regards,

Gianluca