import org.simantics.db.ObjectResourceIdMap;
import org.simantics.db.common.exception.DebugException;
import org.simantics.db.exception.DatabaseException;
+import org.simantics.db.exception.ResourceNotFoundException;
import org.simantics.db.impl.graph.ReadGraphImpl;
import org.simantics.db.impl.procedure.InternalProcedure;
} else {
- DatabaseException e = new DatabaseException("No URI for " + id);
+ ResourceNotFoundException e = new ResourceNotFoundException("No resource for URI: " + id);
if(entry != null) entry.except(e);
procedure.exception(graph, e);