summaryrefslogtreecommitdiff
path: root/same
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-03-27 11:41:53 +0200
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-03-27 11:41:53 +0200
commit242ad944762e17fd3636beb40237c870551a653a (patch)
tree244d9bbbd141d7a51ece921ae28edbf1ac01237d /same
parent58d19fcba9cf287ef82964123093e53b9742ff87 (diff)
Fix Android problem.
Avoid the IOException(Throwable) constructor on Android.
Diffstat (limited to 'same')
-rw-r--r--same/src/main/java/com/orbekk/net/MyJsonRpcHttpClient.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/same/src/main/java/com/orbekk/net/MyJsonRpcHttpClient.java b/same/src/main/java/com/orbekk/net/MyJsonRpcHttpClient.java
index b610a2f..d5e30d7 100644
--- a/same/src/main/java/com/orbekk/net/MyJsonRpcHttpClient.java
+++ b/same/src/main/java/com/orbekk/net/MyJsonRpcHttpClient.java
@@ -54,7 +54,7 @@ public class MyJsonRpcHttpClient extends JsonRpcHttpClient {
try {
rpcClient.invoke(methodName, arguments, out);
} catch (Exception e) {
- throw new IOException(e.fillInStackTrace());
+ throw new IOException("RPC Failed: " + e.getMessage());
}
}
});