File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
spring-oxm/src/main/java/org/springframework/oxm/support Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,8 @@ public boolean isProcessExternalEntities() {
99
99
100
100
101
101
/**
102
- * Build a new {@link Document} from this marshaller's {@link DocumentBuilderFactory}.
102
+ * Build a new {@link Document} from this marshaller's {@link DocumentBuilderFactory},
103
+ * as a placeholder for a DOM node.
103
104
* @see #createDocumentBuilderFactory()
104
105
* @see #createDocumentBuilder(DocumentBuilderFactory)
105
106
*/
@@ -114,8 +115,7 @@ protected Document buildDocument() {
114
115
return documentBuilder .newDocument ();
115
116
}
116
117
catch (ParserConfigurationException ex ) {
117
- throw new UnmarshallingFailureException (
118
- "Could not create document placeholder for DOMSource: " + ex .getMessage (), ex );
118
+ throw new UnmarshallingFailureException ("Could not create document placeholder: " + ex .getMessage (), ex );
119
119
}
120
120
}
121
121
You can’t perform that action at this time.
0 commit comments