This commit is contained in:
insanity
2018-04-27 13:46:05 +09:00

View File

@@ -128,7 +128,6 @@ public class ServiceInvoker {
} }
} }
return objectMapper.convertValue(json, targetType); return objectMapper.convertValue(json, targetType);
} }
private Object[] getParameters(Type[] parameterTypes, List<ByteString> params) throws IllegalArgumentException { private Object[] getParameters(Type[] parameterTypes, List<ByteString> params) throws IllegalArgumentException {
@@ -188,7 +187,7 @@ public class ServiceInvoker {
try { try {
jsonInString = objectMapper.writeValueAsString(result); jsonInString = objectMapper.writeValueAsString(result);
} catch (IOException e) { } catch (IOException e) {
throw new OverflowException("InternalError"); throw new OverflowException("InternalError", e);
} }
return jsonInString; return jsonInString;