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() {
9999
100100
101101 /**
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.
103104 * @see #createDocumentBuilderFactory()
104105 * @see #createDocumentBuilder(DocumentBuilderFactory)
105106 */
@@ -114,8 +115,7 @@ protected Document buildDocument() {
114115 return documentBuilder .newDocument ();
115116 }
116117 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 );
119119 }
120120 }
121121
You can’t perform that action at this time.
0 commit comments