Caught exception which was being thrown when a connection could not be established with the server.