Hi,
I have a rule, which in "then section" has:
throw new java.lang.Exception("I cant get this message!");
I throw this exception, and I can get it using catch
(org.drools.runtime.rule.ConsequenceException e) {} in java. But when I try
to get message from exception "e", I get only rule's name:
rule: <rule name>
How can I throw exception with message that I want to have on java side?
I hope it is understandeble... :)
Thanks,
tom.
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Throwing-exceptions-f...
Sent from the Drools - User mailing list archive at
Nabble.com.