private VsphereConnHandler getConnHandler() throws IOException { VsphereConnHandler connHandler = (VsphereConnHandler) ConnectionPool.getConnectionHandler(this, fileURL, true); try { connHandler.checkConnection(); } catch (RuntimeException e) { releaseConnHandler(connHandler); throw e; } catch (IOException e) { releaseConnHandler(connHandler); throw e; } return connHandler; }