neo4j/neo4j — pull request #3563 by tinwelint (2014-11-27 21:01:13+00:00)
Title: Reduces unnecessarily thrown exceptions

- when initially loading nodes and relationships, i.e. mostly checking
that such exists. Previously went through a path throwing
InvalidRecordException. Now uses method returning null or record.
- when visiting node degrees for state before commit, as part of
committing nodes. Previously went through path throwing
EntityNotFoundException. Now uses method returning boolean.