This commit is contained in:
crusader 2018-04-27 12:23:32 +09:00
parent 987b248e89
commit 5ebf78ff3f

View File

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