You are viewing a plain text version of this content. The canonical link for it is here.
Posted to imperius-dev@incubator.apache.org by Reza Asadollahi <ra...@uwaterloo.ca> on 2008/07/22 21:30:31 UTC

SPL policy

Hi,

I was working with Imperius and in the condition part of one of my policies
I had obj.a = 1 instead of obj.a == 1 

There was no error at createPolicy time, but I got an exception in execution
time. (ClassCastException in PolicyDefinition line 185). 

Isn't it better to check for such errors at policy compile time?

 

Thanks,

Reza