import java.io.IOException;
import java.nio.file.Path;
+import org.simantics.acorn.exception.AcornAccessVerificationException;
+import org.simantics.acorn.exception.IllegalAcornStateException;
+
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