Checked Exception LHS rule evaluation

18 views
Skip to first unread message

Colton Mack

unread,
Feb 7, 2022, 12:42:16 PM2/7/22
to Drools Usage
Hi all, 
I am trying to do evaluation in the LHS between a fact variable and a getter that throws a checked exception. However, I am getting compile errors (says the exception must be thrown or caught). Any suggestions on how to get this code compiling? Thanks. 

Toshiya Kobayashi

unread,
Feb 7, 2022, 9:34:05 PM2/7/22
to Drools Usage
Hi,

Do you see error when you build a kjar with maven plugin and enable executable-model (= having drools-model-compiler as a dependency)?

I can reproduce the issue on my end but I just wanted to confirm if you hit the issue with the same usage.

Thanks,
Toshiya

2022年2月8日火曜日 2:42:16 UTC+9 colto...@gmail.com:
Reply all
Reply to author
Forward
0 new messages