Ignore NoSingleResultException in DependenciesRelation 29/1529/8
authorjsimomaa <jani.simomaa@gmail.com>
Wed, 7 Mar 2018 08:06:29 +0000 (10:06 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 8 Mar 2018 12:31:31 +0000 (14:31 +0200)
commitbc5e6cb19f6af5f67bc5cfaad7d602841b8fdd0b
treed8f63f351c658744d384bf6215480063404c69e7
parent91682baa9a8252390f09b80fd724f47e5957b234
Ignore NoSingleResultException in DependenciesRelation

Some fixes for NoSingleResultException usage and introducing resultCount
field for more detailed exception messages

refs #7803

Change-Id: Id633dcfee66c44556de3943c5ec4454e9473f6f3
15 files changed:
bundles/org.simantics.db.common/src/org/simantics/db/common/procedure/single/wrapper/DeepSingleOrErrorProcedure.java
bundles/org.simantics.db.common/src/org/simantics/db/common/procedure/single/wrapper/NullSingleOrExceptionProcedure.java
bundles/org.simantics.db.common/src/org/simantics/db/common/procedure/single/wrapper/SingleOrErrorProcedure.java
bundles/org.simantics.db.common/src/org/simantics/db/common/request/SingleObjectWithType.java
bundles/org.simantics.db.impl/src/org/simantics/db/impl/graph/ReadGraphImpl.java
bundles/org.simantics.db.impl/src/org/simantics/db/impl/graph/SingleObjectProcedure.java
bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/genericrelation/DependenciesRelation.java
bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/request/SingleActiveModel.java
bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/variable/ConstantChildVariable.java
bundles/org.simantics.db.procore/META-INF/MANIFEST.MF
bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/DirectQuerySupportImpl.java
bundles/org.simantics.db/src/org/simantics/db/exception/NoSingleResultException.java
bundles/org.simantics.db/src/org/simantics/db/exception/ResourceNotFoundException.java
bundles/org.simantics.db/src/org/simantics/db/service/DebugSupport.java
bundles/org.simantics.structural2/src/org/simantics/structural2/variables/StandardProceduralChildVariable.java