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)

Reply via email to