X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.acorn%2Fsrc%2Forg%2Fsimantics%2Facorn%2Fcluster%2FClusterBig.java;h=51241728d16438278f1be4808404a0bc5c2754ef;hb=591f4572f18d20a08a797a8e5c4a8dfc1b3320c1;hp=f623d587f8d745907a86edf18fd1977fb5bfc894;hpb=87b6edd49f4370516d7f37bcb34c91324b95052c;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.acorn/src/org/simantics/acorn/cluster/ClusterBig.java b/bundles/org.simantics.acorn/src/org/simantics/acorn/cluster/ClusterBig.java index f623d587f..51241728d 100644 --- a/bundles/org.simantics.acorn/src/org/simantics/acorn/cluster/ClusterBig.java +++ b/bundles/org.simantics.acorn/src/org/simantics/acorn/cluster/ClusterBig.java @@ -16,6 +16,8 @@ import java.io.IOException; import java.io.InputStream; import java.util.Arrays; +import org.simantics.acorn.exception.AcornAccessVerificationException; +import org.simantics.acorn.exception.IllegalAcornStateException; import org.simantics.acorn.internal.ClusterChange; import org.simantics.acorn.internal.ClusterStream; import org.simantics.acorn.internal.ClusterSupport2; @@ -571,8 +573,11 @@ final public class ClusterBig extends ClusterImpl { try { return resourceTable.getValue(valueTable, resourceIndex); } catch (ExternalValueException e) { - return clusterSupport.impl.getResourceFile(clusterUID.asBytes(), resourceIndex); -// return support.getValueEx(resourceIndex, clusterUID.second); + try { + return clusterSupport.impl.getResourceFile(clusterUID.asBytes(), resourceIndex); + } catch (AcornAccessVerificationException | IllegalAcornStateException e1) { + throw new DatabaseException(e1); + } } } @Override