On 2010-04-20 08.05, Niclas Hedhman wrote:
On Tue, Apr 20, 2010 at 12:04 AM, Paul Merlin<[email protected]> wrote:
Any suggestions on what it should look like?
Everytime I get this one it take me some time to find the incriminated property.
Maybe outputing the QualifiedName of the property, if possible, could help us
debug quickier.
Yeah, the ".<unknown>" is obviously the "wrong thing" in this case.
Ok, I looked into this, and here is a suggested alternative. The same
exception would read:
Constraint violation in
8b655539-fdb9-41f0-96c2-fb034dcf8888-0.org.qi4j.api.property.PropertyErrorTest$PersonEntity
for method foo with constraint not optional, for value 'null'
I.e. you get to see the identity of the Entity (which will be generated
most of the time), the entity type, the property name, and then the cause.
Does that look ok?
/Rickard
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev