Le 30/01/16 10:36, Zheng, Kai a écrit :
> The proposed change makes sense to me. Then in new Java style, codes can be 
> like: try (Cursor c = Cursor.open(xxx)) {}.
>
> But I don't know what close(Exception) method is for. Looks to me, close() 
> throws IOException is enough.

This is just a method that close the cursor, but you can 'propagate' an
error to it. This is helpful when you have to close a cursor because you
have detected an error while processing it.


Reply via email to