google-code-export / objectify-appengine

Automatically exported from code.google.com/p/objectify-appengine
MIT License
1 stars 0 forks source link

Omitted runtime exceptions in Objectify API. #111

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There are omitted runtime exceptions in Objectify API.

For example, Objectify class's put() method throws runtime exceptions which may 
be thrown by native put() method of datastore, but it's not stated in API.

Original issue reported on code.google.com by hwhwa...@gmail.com on 22 Oct 2011 at 4:49

GoogleCodeExporter commented 9 years ago
Because of the heavy use of asynchrony in Objectify4, it's no longer practical 
to declare the runtime exceptions.  For example, the runtime exceptions might 
be thrown out of Map operations - I can't declare extra exceptions on 
java.util.Map.  Ref mentions this in the javadocs.

Original comment by lhori...@gmail.com on 16 Dec 2011 at 2:51