[ 
http://issues.apache.org/jira/browse/IBATIS-127?page=comments#action_12371137 ] 

Sven Boden commented on IBATIS-127:
-----------------------------------

I've tested different combinations on a couple of people... I would like to 
make the error messages as follows:

--- Cause: java.lang.RuntimeException: Error setting property 'setCartOption' 
of '[EMAIL PROTECTED]'.  Cause: java.lang.IllegalArgumentException: argument 
type mismatch

instead of the current:

--- Cause: java.lang.RuntimeException: Error setting properties of '[EMAIL 
PROTECTED]'.  Cause: java.lang.IllegalArgumentException: argument type mismatch

so halfway between the current version and the proposed version.

Closure around March, 24th.

> 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

Reply via email to