fjtirado commented on code in PR #3523:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/3523#discussion_r1604785976
##########
jbpm/jbpm-flow/src/main/java/org/jbpm/process/instance/impl/ExpressionReturnValueEvaluator.java:
##########
@@ -32,13 +32,14 @@ public ExpressionReturnValueEvaluator(String lang, String
expression, String roo
}
public ExpressionReturnValueEvaluator(String lang, String expression,
String rootName, Class<?> returnType) {
+ super(lang, expression);
this.expression = ExpressionHandlerFactory.get(lang, expression);
this.rootName = rootName;
this.returnType = returnType;
}
@Override
- public Object evaluate(KogitoProcessContext processContext) throws
Exception {
+ public Object evaluate(KogitoProcessContext processContext) throws
RuntimeException {
Review Comment:
There is not need to throw runtime exceptions
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]