exceptionfactory commented on code in PR #5986:
URL: https://github.com/apache/nifi/pull/5986#discussion_r855393951
##########
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/util/FlowParser.java:
##########
@@ -278,13 +278,14 @@ private List<PortDTO> getPorts(final Element element,
final String type) {
* @param flowDocument flowDocument of the associated XML content to write
to disk
* @param flowXmlPath path on disk to write the flow
* @throws IOException if there are issues in accessing the target
destination for the flow
- * @throws TransformerException if there are issues in the xml
transformation process
*/
- public void writeFlow(final Document flowDocument, final Path flowXmlPath)
throws IOException, TransformerException {
+ public void writeFlow(final Document flowDocument, final Path flowXmlPath)
throws IOException {
Review Comment:
Correct, the caller would receiving a runtime XML `ProcessingException`,
instead of the checked `TransformerException`. As mentioned, this does not
appear to be an issue as this method does not appear to be used.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]