You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Jerome Lacoste (JIRA)" <ib...@incubator.apache.org> on 2005/05/11 23:44:08 UTC
[jira] Updated: (IBATIS-127) PropertyAccessPlan should put more context information when throwing an exception
[ http://issues.apache.org/jira/browse/IBATIS-127?page=all ]
Jerome Lacoste updated IBATIS-127:
----------------------------------
Attachment: ibatis-2.0.7_PropertyAccessPlan_more_context_information.txt
Instead of
Error setting properties of 'Part-20021'. Cause: java.lang.IllegalArgumentException: argument type mismatch Caused by: java.lang.IllegalArgumentException: argument type mismatch];
I get
Error setting property 'setFeatureIDs(java.util.Set=[2] $Proxy4 implements interface java.util.List)' of 'Part-20021'. Cause: java.lang.IllegalArgumentException: argument type mismatch Caused by: java.lang.IllegalArgumentException: argument type mismatch];
Not very user friendly but helps a lot!
> PropertyAccessPlan should put more context information when throwing an exception
> ---------------------------------------------------------------------------------
>
> Key: IBATIS-127
> URL: http://issues.apache.org/jira/browse/IBATIS-127
> Project: iBatis for Java
> Type: Improvement
> Components: SQL Maps
> Versions: 2.0.8
> Environment: iBatis 2.0.7
> Reporter: Jerome Lacoste
> Priority: Trivial
> Attachments: ibatis-2.0.7_PropertyAccessPlan_more_context_information.txt
>
> It's hard to find the reason of a failure. By adding more context information it becomes much easier to know what is wrong. See attached patch.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira