axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe Le Berre (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AXIS2-5476) Improve exception message on InvocationTargetException in BeanUtil.deserialize
Date Thu, 17 Jan 2013 08:04:13 GMT
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


Mime
View raw message