[ 
https://issues.apache.org/jira/browse/CXF-6918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Colm O hEigeartaigh closed CXF-6918.
------------------------------------

> 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
>    Affects Versions: 3.2.0
>            Reporter: Svetlin Zarev
>            Assignee: Sergey Beryozkin
>            Priority: Minor
>             Fix For: 3.0.10, 3.1.7, 3.2.0
>
>         Attachments: Do_not_swallow_exceptions___log_them_instead___.patch
>
>
> 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