]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.acorn/src/org/simantics/acorn/Persistable.java
Merge "Upgrade pdfbox to 2.0.3 and fastutil to 7.0.13."
[simantics/platform.git] / bundles / org.simantics.acorn / src / org / simantics / acorn / Persistable.java
index 0d209b2b8d744a4d442924179ddece20a5d1a1b2..86dfdd435122036d6aaf5b5c45042d7bed7f14f1 100644 (file)
@@ -3,9 +3,13 @@ package org.simantics.acorn;
 import java.io.IOException;
 import java.nio.file.Path;
 
+import org.simantics.acorn.exception.AcornAccessVerificationException;
+import org.simantics.acorn.exception.IllegalAcornStateException;
+import org.simantics.db.exception.SDBException;
+
 public interface Persistable {
        
        void toFile(Path path) throws IOException ;
-       void fromFile(byte[] data);
+       void fromFile(byte[] data) throws IllegalAcornStateException, AcornAccessVerificationException;
        
 }
\ No newline at end of file