/*
- * Copyright (C) 2009-2010, Google Inc.
+ * Copyright (C) 2008-2010, Google Inc.
* Copyright (C) 2008, Shawn O. Pearce <spearce@spearce.org>
* and other copyright owners as documented in the project's IP log.
*
init(advertisement, DisabledOutputStream.INSTANCE);
outNeedsEnd = false;
- try {
- readAdvertisedRefs();
- } catch (IOException err) {
- close();
- throw new TransportException(uri, "remote hung up", err);
- }
+ readAdvertisedRefs();
}
@Override
init(advertisement, DisabledOutputStream.INSTANCE);
outNeedsEnd = false;
- try {
- readAdvertisedRefs();
- } catch (IOException err) {
- close();
- throw new TransportException(uri, "remote hung up", err);
- }
+ readAdvertisedRefs();
}
protected void doPush(final ProgressMonitor monitor,