-
March 27th, 2024, 09:10 PM
#1
Exception handling when migrating from java SE client version 2.5.2 to 5.0.0
Hello, we are migrating our Java SE client version from 2.5.2 to 5.0.0.
In the old version we have been catching exceptions like PushConnException, PushServerException, PushUserException, SubscrException. There is also a onActivityWarning() method under the ExtendedConnectionListener class.
In the new version, if I understood correctly, we get all these exception scenarios through the method ClientListener.onServerError(int errorCode, String errorMessage).
My question is, how can we catch the same exception scenarios? Is there a one-to-one matching from the old exception classes to the new errorCodes? Thanks!
Similar Threads
-
By ManKeer in forum Client SDKs
Replies: 3
Last Post: June 8th, 2022, 01:41 PM
-
By KalS in forum Client SDKs
Replies: 5
Last Post: February 4th, 2016, 10:43 AM
-
By romainmoreau in forum Client SDKs
Replies: 9
Last Post: December 1st, 2014, 06:04 PM
-
By emese in forum Adapter SDKs
Replies: 1
Last Post: July 21st, 2011, 10:16 AM
-
By gerald.logor in forum Client SDKs
Replies: 7
Last Post: May 16th, 2008, 05:25 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 12:16 AM.
Bookmarks