Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Connection failure handling

Avatar

Level 1

I would like to check for connection to the server that will be hosting my lifecycle application. If the connection to this server fails, I would like to connect to another server. Any idea how I can come about doing it? I was thinking of capturing the exception in a try/catch block but I was not sure of what exception to handle. Am I on the right track? Please advise.

Thanks in advance.

0 Replies