#12: finnish() is superflouse.
--------------------------+-------------------------------------------------
 Reporter:  anonymous     |        Owner:  emil   
     Type:  bug report    |       Status:  new    
 Priority:  major         |    Milestone:  neo-1.0
Component:  neo-core api  |   Resolution:         
 Keywords:                |  
--------------------------+-------------------------------------------------
Comment (by mattias):

 failure() is rarely used as I see it, if you could manage your code to
 throw exception when an error occurs (as you normally do) in every
 situation then you can rely on success() only.

 There are some situations where you have to make sure the transaction
 isn't committed, since the outer scope might just catch your exception and
 go on (even if you really mean for the transaction to fail).

-- 
Ticket URL: <https://trac.neo4j.org/ticket/12#comment:4>
neo4j.org <http://trac.neo4j.org/>
The Neo4J.org Issue Tracker
_______________________________________________
Neo mailing list
[email protected]
http://lists.neo4j.org/mailman/listinfo/user

Reply via email to