protected SVNAuthenticator(SVNConnection connection) throws SVNException { myConnection = connection; // these are logged streams. myConnectionInputStream = connection.getInputStream(); myConnectionOutputStream = connection.getOutputStream(); // plain streams. try { myPlainInputStream = connection.getConnector().getInputStream(); myPlainOutputStream = connection.getConnector().getOutputStream(); } catch (IOException e) { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.IO_ERROR, e.getMessage()); SVNErrorManager.error(err, SVNLogType.NETWORK); } }
protected SVNAuthenticator(SVNConnection connection) throws SVNException { myConnection = connection; // these are logged streams. myConnectionInputStream = connection.getInputStream(); myConnectionOutputStream = connection.getOutputStream(); // plain streams. try { myPlainInputStream = connection.getConnector().getInputStream(); myPlainOutputStream = connection.getConnector().getOutputStream(); } catch (IOException e) { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.IO_ERROR, e.getMessage()); SVNErrorManager.error(err, SVNLogType.NETWORK); } }
protected SVNAuthenticator(SVNConnection connection) throws SVNException { myConnection = connection; // these are logged streams. myConnectionInputStream = connection.getInputStream(); myConnectionOutputStream = connection.getOutputStream(); // plain streams. try { myPlainInputStream = connection.getConnector().getInputStream(); myPlainOutputStream = connection.getConnector().getOutputStream(); } catch (IOException e) { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.IO_ERROR, e.getMessage()); SVNErrorManager.error(err, SVNLogType.NETWORK); } }