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:04:13 UTC

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

Philippe Le Berre created AXIS2-5476:
----------------------------------------

             Summary: 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


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