-package org.simantics.graph.db.old;\r
-\r
-import java.util.Set;\r
-\r
-import org.simantics.db.exception.DatabaseException;\r
-\r
-public class OldMissingDependencyException extends DatabaseException {\r
-\r
- private static final long serialVersionUID = -1579450497603555931L;\r
- \r
- private final OldTransferableGraphImportProcess1 process;\r
- \r
- public OldMissingDependencyException(OldTransferableGraphImportProcess1 process) {\r
- super(createMessage(process));\r
- this.process = process;\r
- }\r
-\r
- private static String createMessage(OldTransferableGraphImportProcess1 process) {\r
- StringBuilder b = new StringBuilder();\r
- b.append("The following references were not found:\r\n");\r
- for(String missing : process.missingExternals) {\r
- b.append(" -" + missing + "\r\n");\r
- }\r
- return b.toString();\r
- }\r
- \r
- public Set<String> getMissingURIs() {\r
- return process.missingExternals;\r
- }\r
-\r
-}\r
+package org.simantics.graph.db.old;
+
+import java.util.Set;
+
+import org.simantics.db.exception.DatabaseException;
+
+public class OldMissingDependencyException extends DatabaseException {
+
+ private static final long serialVersionUID = -1579450497603555931L;
+
+ private final OldTransferableGraphImportProcess1 process;
+
+ public OldMissingDependencyException(OldTransferableGraphImportProcess1 process) {
+ super(createMessage(process));
+ this.process = process;
+ }
+
+ private static String createMessage(OldTransferableGraphImportProcess1 process) {
+ StringBuilder b = new StringBuilder();
+ b.append("The following references were not found:\r\n");
+ for(String missing : process.missingExternals) {
+ b.append(" -" + missing + "\r\n");
+ }
+ return b.toString();
+ }
+
+ public Set<String> getMissingURIs() {
+ return process.missingExternals;
+ }
+
+}