ing
This commit is contained in:
parent
987b248e89
commit
5ebf78ff3f
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user