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

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;