Remove usage of IOException(Throwable) not available on Java 5

Change-Id: I386aa77fb78bed3fb38a3ce46eaeb47df95fdde3
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
Matthias Sohn 2014-05-21 22:32:58 +02:00
parent 0e13adb9cf
commit 1f1e93214b
1 changed files with 3 additions and 1 deletions

View File

@ -517,7 +517,9 @@ void configureRequest(HttpConnection conn) throws IOException {
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;
}
}
}