[Neo] [ticket] #20: Minor API improvements

neo4j.org noreply at neo4j.org
Thu Nov 8 19:34:22 CET 2007

#20: Minor API improvements
 Reporter:  emil                 |       Owner:  johans 
     Type:  enhancement request  |      Status:  new    
 Priority:  major                |   Milestone:  neo-1.0
Component:  neo-core impl        |    Keywords:         
 There are a number of minor API changes in line for b6:

  * Expose a {{{NotFoundException}}}. Currently, we chicken out and declare
 {{{RuntimeException}}} in a number of cases, such as
 {{{embeddedNeo.getNodeById( idThatDoesntExistYet )}}},
 {{{node.getProperty( aKeyThatDoesntExist )}}}, etc. That's poor form and
 something we should fix.
  * Expose {{{node.hasRelationship()}}}. I agree that the current idiom
 ({{{node.getRelationships().iterator().hasNext()}}}) is too wordy.

Ticket URL: <https://trac.neo4j.org/ticket/20>
neo4j.org <http://trac.neo4j.org/>
The Neo4J.org Issue Tracker

More information about the User mailing list