On Thu, Mar 15, 2012 at 3:57 PM, seba.wag...@gmail.com
<seba.wag...@gmail.com> wrote:
> I have a request and would like to discuss if it is worth opening an Jira
> issue for it:
>
> If you pass a parameter that axis is unable to parse the output in the log
> looks like:
> java.lang.RuntimeException: In valid string sufix
>     at
> org.apache.axis2.databinding.utils.ConverterUtil.convertToDate(ConverterUtil.java:596)
>
> Now the experienced developer might look at any Date parameter in the
> SOAP/REST request in the above example.
>
> However it would be good if the exception would actually give the name of
> the parameter that failed!
> It is much easier to debug / fix your RPC calls if the RPC Gateway actually
> can tell you which parameter is wrong instead of just failing with some kind
> of cryptic stack trace pointing to internal classes of Axis2 that might (or
> might not) give somebody an idea which parameters to look at.
> So the idea would be that the RunTimeException String message would be
> something like:
> Invalid string sufix at parameter "myDate" in method "myMethod" [€ventually
> + Service Name]
>
> I think that would improve the usability a lot for end users.
> What do you think?

+1

Thanks !
>
> Thanks!
> Sebastian
> --
> Sebastian Wagner
> http://www.openmeetings.de
> http://incubator.apache.org/openmeetings/
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wag...@gmail.com



-- 
Sagara Gunathunga

Blog      - http://ssagara.blogspot.com
Web      - http://people.apache.org/~sagara/
LinkedIn - http://www.linkedin.com/in/ssagara

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to