OSDN Git Service

Alter save thread logic so that if an error happens, a message box is produced rather...
[neighbornote/NeighborNote.git] / src / cx / fbn / nevernote / xml / XMLNoteRepair.java
index 8fec2bc..9d5de24 100644 (file)
@@ -97,7 +97,7 @@ public class XMLNoteRepair {
                                is.setCharacterStream(new StringReader(handler.getXml()));
                                if (validate) {
                                        System.err.println("Error validating ENML2 DTD");
-                                       System.exit(16);
+                                       return null;
                                }
                        } catch (SAXException e) {
                                System.err.append("SAXException");