1

Why does FileOutputStream throw FileNotFoundException?

view story
linux-howto

http://stackoverflow.com – The Android Developer reference (this page) says: Throws FileNotFoundException But at the very start, it says: Open a private file associated with this Context's application package for writing. Creates the file if it doesn't already exist. If that is the case, why would the FileNotFoundException ever be thrown? I just want to make sure I'm properly handling all cases. I am using the default functionality, so can I just wrap this in a try..catch block with nothing in the catch block since it is not possible for a FileNotFoundException to ever be thrown in the default functionality? (HowTos)