diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2014-05-21 22:32:58 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2014-05-21 22:32:58 +0200 |
commit | 1f1e93214bf2a2080f1fd2874d3ec39d8edcdf23 (patch) | |
tree | b2645d62a3dda264da5e3282a21c5169ffd6eee0 /org.eclipse.jgit/src | |
parent | 0e13adb9cf3c498a790f080f07eb72cc2fb7c4e0 (diff) | |
download | jgit-1f1e93214bf2a2080f1fd2874d3ec39d8edcdf23.tar.gz jgit-1f1e93214bf2a2080f1fd2874d3ec39d8edcdf23.zip |
Remove usage of IOException(Throwable) not available on Java 5
Change-Id: I386aa77fb78bed3fb38a3ce46eaeb47df95fdde3
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit/src')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/transport/HttpAuthMethod.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/HttpAuthMethod.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/HttpAuthMethod.java index 6c30824e6e..47cbf691f4 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/HttpAuthMethod.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/HttpAuthMethod.java @@ -517,7 +517,9 @@ abstract class HttpAuthMethod { conn.setRequestProperty(HDR_AUTHORIZATION, getType().name() + " " + Base64.encodeBytes(token)); //$NON-NLS-1$ } catch (GSSException e) { - throw new IOException(e); + IOException ioe = new IOException(); + ioe.initCause(e); + throw ioe; } } } |