You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Svetlin Zarev (JIRA)" <ji...@apache.org> on 2016/05/25 09:23:12 UTC

[jira] [Created] (CXF-6918) Print the XMLInputFactory implementation class when throwing "Cannot create a secure XMLInputFactory"

Svetlin Zarev created CXF-6918:
----------------------------------

             Summary: Print the XMLInputFactory implementation class when throwing "Cannot create a secure XMLInputFactory"
                 Key: CXF-6918
                 URL: https://issues.apache.org/jira/browse/CXF-6918
             Project: CXF
          Issue Type: Improvement
            Reporter: Svetlin Zarev
            Priority: Minor


CXF tries to set some Woodstox specific properties and if it fails throws a runtime exception with message "Cannot create a secure XMLInputFactory". It would be very helpful to know the XMLInputFactory implementation class. This can be achieved in two ways:

* add the class name to the exception message
* log the class name before throwing the exception

https://github.com/apache/cxf/blob/master/core/src/main/java/org/apache/cxf/staxutils/StaxUtils.java#L323



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)