X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.db.impl%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fimpl%2Fquery%2FCacheEntryBase.java;h=8c43135732288a1ac70a6529ab97bf5e0b358007;hb=8b6de499c9c1bad0e72631719fd165ce39d6ad56;hp=1506b54afc3041eacc2cc7718505960b64f34654;hpb=8e67ae458c3ee4711eff252f971d9a4219d51210;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/CacheEntryBase.java b/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/CacheEntryBase.java index 1506b54af..8c4313573 100644 --- a/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/CacheEntryBase.java +++ b/bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/CacheEntryBase.java @@ -108,14 +108,14 @@ abstract public class CacheEntryBase extends CacheEntry { } @Override - public void except(Throwable t) { + public void except(Throwable throwable) { if(DebugPolicy.QUERY_STATE) System.out.println("[QUERY STATE]: excepted " + this); if(statusOrException != DISCARDED) { statusOrException = EXCEPTED; - result = t; + result = throwable; } else { - LOGGER.warn("Cache entry got excepted status after being discarded: " + getClass().getSimpleName(), t); - result = t; + LOGGER.warn("Cache entry got excepted status after being discarded: " + getClass().getSimpleName(), throwable); + result = throwable; } } @@ -460,6 +460,6 @@ abstract public class CacheEntryBase extends CacheEntry { public CacheEntryBase() { } - abstract public Object compute(ReadGraphImpl graph, Procedure procedure) throws DatabaseException; + //abstract public Object compute(ReadGraphImpl graph, Procedure procedure) throws DatabaseException; }