are it possible to check the backendless fault massage?

hello, I need to check in fault result if the reason is not internet connection, so my question is:
am I do something like
if (fault.getMassage().equals(BackendlessFault.MASSAGE_NOT_INTERNET_CONNECTION){…}
?
thanks

Hello Yosef,

you can check the internet connection these ways:

  1. disable internet, make the server request and you will get the error message to handle.
  2. or use standard Java facilities to check the Internet connection.

Regards, Olga