You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Philippe Le Berre (JIRA)" <ji...@apache.org> on 2013/01/17 09:10:12 UTC

[jira] [Comment Edited] (AXIS2-5476) Improve exception message on InvocationTargetException in BeanUtil.deserialize

    [ https://issues.apache.org/jira/browse/AXIS2-5476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13555971#comment-13555971 ] 

Philippe Le Berre edited comment on AXIS2-5476 at 1/17/13 8:10 AM:
-------------------------------------------------------------------

Patch for adb utils.BeanUtil (diff -u)

If someone needs a patched jar to resolve one these InvocationTargetException : http://esis.svn.sourceforge.net/viewvc/esis/main/jars/axis2-1.6.2/lib/axis2-adb-1.6.2.jar?revision=3694
                
      was (Author: pleberre):
    Patch for adb utils.BeanUtil (diff -u)
                  
> Improve exception message on InvocationTargetException in BeanUtil.deserialize
> ------------------------------------------------------------------------------
>
>                 Key: AXIS2-5476
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5476
>             Project: Axis2
>          Issue Type: Improvement
>          Components: adb
>    Affects Versions: 1.6.2
>         Environment: OS X 10.8
>            Reporter: Philippe Le Berre
>            Priority: Trivial
>              Labels: patch
>         Attachments: patch.diff
>
>
> Deserialize on InvocationTargetException just does a  
> ----
> } catch (InvocationTargetException e) {
>             throw new AxisFault("InvocationTargetException : " + e);
> ---
> which isn't that helpful for the one who has to solve it as most of the InvocationTargetException is then lost, I would recommend something along the lines
> ----
> } catch (InvocationTargetException e) {
>  throw new AxisFault("InvocationTargetException [cause: "+ e.getCause() +"] [target: "+e.getTargetException()+"] :" + e);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org