Skip navigation
Currently Being Moderated

Connection failure handling

Jun 28, 2011 8:15 PM

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.


More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points