If you don't see a need to trap the exception because the service.testConnection(...) call doesn't emit one, that is acceptable.