On 17/07/2012, ashwindrool <ashwin.khandelwal86(a)gmail.com> wrote:
Hi Laune,
I do wht u asked me, I added print statement before and after for loop
"Before" is getting printed twice and "After" only once.
Like this????
Before
Before
After
---Error message---
Please be more specific.
Add another if statement before the for statement testing whether
if( $a.getAgentList() == null ){
System.out.println( "List is null" );
}
Then it prints
Error message which i mentioned in catch block from where i called
rule in
java.
in following order message getting printed
* before
list of data
after
before
error*
/im printing 128thousand records/
*
No their is no null field in given records...................
*
--
View this message in context:
http://drools.46999.n3.nabble.com/How-handle-exception-thrown-while-loopi...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users