19.01.2011 3:39, Zsolt Vasvari пишет:
I just don't see, from an API design point of view, why File.open() or
Context.openInputFile() couldn't just return<null>  if the file
doesn't exist, instead of throwing an exception.  Especially, since a
file not existing is usually not an exception, but a common occurence.

You'd know this from recognizing Java, which quite consistently uses exceptions for failures.

--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to