|
|
@ -363,9 +363,7 @@ public class TransportHttp extends HttpTransport implements WalkTransport, |
|
|
|
try (InputStream in = openInputStream(c)) { |
|
|
|
try (InputStream in = openInputStream(c)) { |
|
|
|
return getConnection(c, in, service); |
|
|
|
return getConnection(c, in, service); |
|
|
|
} |
|
|
|
} |
|
|
|
} catch (NotSupportedException err) { |
|
|
|
} catch (NotSupportedException | TransportException err) { |
|
|
|
throw err; |
|
|
|
|
|
|
|
} catch (TransportException err) { |
|
|
|
|
|
|
|
throw err; |
|
|
|
throw err; |
|
|
|
} catch (IOException err) { |
|
|
|
} catch (IOException err) { |
|
|
|
throw new TransportException(uri, JGitText.get().errorReadingInfoRefs, err); |
|
|
|
throw new TransportException(uri, JGitText.get().errorReadingInfoRefs, err); |
|
|
@ -449,9 +447,7 @@ public class TransportHttp extends HttpTransport implements WalkTransport, |
|
|
|
throw new NotSupportedException(msg); |
|
|
|
throw new NotSupportedException(msg); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} catch (NotSupportedException err) { |
|
|
|
} catch (NotSupportedException | TransportException err) { |
|
|
|
throw err; |
|
|
|
|
|
|
|
} catch (TransportException err) { |
|
|
|
|
|
|
|
throw err; |
|
|
|
throw err; |
|
|
|
} catch (IOException err) { |
|
|
|
} catch (IOException err) { |
|
|
|
throw new TransportException(uri, JGitText.get().errorReadingInfoRefs, err); |
|
|
|
throw new TransportException(uri, JGitText.get().errorReadingInfoRefs, err); |
|
|
@ -575,9 +571,7 @@ public class TransportHttp extends HttpTransport implements WalkTransport, |
|
|
|
String err = status + " " + conn.getResponseMessage(); //$NON-NLS-1$
|
|
|
|
String err = status + " " + conn.getResponseMessage(); //$NON-NLS-1$
|
|
|
|
throw new TransportException(uri, err); |
|
|
|
throw new TransportException(uri, err); |
|
|
|
} |
|
|
|
} |
|
|
|
} catch (NotSupportedException e) { |
|
|
|
} catch (NotSupportedException | TransportException e) { |
|
|
|
throw e; |
|
|
|
|
|
|
|
} catch (TransportException e) { |
|
|
|
|
|
|
|
throw e; |
|
|
|
throw e; |
|
|
|
} catch (SSLHandshakeException e) { |
|
|
|
} catch (SSLHandshakeException e) { |
|
|
|
handleSslFailure(e); |
|
|
|
handleSslFailure(e); |
|
|
|