We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60b6375 commit 2543519Copy full SHA for 2543519
src/org/beanio/internal/util/DomUtil.java
@@ -65,7 +65,7 @@ public static Document newDocument() {
65
* @param title the name of the DOM
66
* @param document the DOM to print
67
*/
68
- public static void print(String title, Node document) {
+ public static void print(String title, Node document) throws BeanIOException{
69
try {
70
TransformerFactory factory = TransformerFactory.newInstance();
71
Transformer trans = factory.newTransformer();
@@ -82,7 +82,7 @@ public static void print(String title, Node document) {
82
System.out.println("-------------------------------------------");
83
}
84
catch (Exception ex) {
85
- ex.printStackTrace();
+ throw new BeanIOException(ex);
86
87
88
0 commit comments