Checked Neo4j exception response for null