IOException constructor taking Exception as parameter is new for JDK 6. Change-Id: Iec349fc7be9e9fbaeb53841894883c47a98a7b29 Signed-off-by: Mathias Kinzler <mathias.kinzler@sap.com>tags/v0.11.1
@@ -438,9 +438,9 @@ public class TransportHttp extends HttpTransport implements WalkTransport, | |||
final HttpsURLConnection sslConn = (HttpsURLConnection) conn; | |||
sslConn.setSSLSocketFactory(ctx.getSocketFactory()); | |||
} catch (KeyManagementException e) { | |||
throw new IOException(e); | |||
throw new IOException(e.getMessage()); | |||
} catch (NoSuchAlgorithmException e) { | |||
throw new IOException(e); | |||
throw new IOException(e.getMessage()); | |||
} | |||
} | |||