Java's file-manipulation functions methods often indicate failure with a return value rather than by throwing an exception. The Java Tutorial for Java 7 notes:
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="80e89c01622d1667-200f6d2d-448647bb-aec7a7e5-f8ffe2f82a82f6d37ff01d67"><ac:plain-text-body><![CDATA[ | [[API 2006 | AA. Bibliography#API 06]] | | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="548b854abd97f73b-9d7b1f16-48814817-8d49bb07-c7c55a0ed41c283317a57817"><ac:plain-text-body><![CDATA[ | [[J2SE 2011 | AA. Bibliography#J2SE 11]] | | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="9c0556d57436e530-b81adb22-4587402b-9866a497-74ae84b80c5d4caf6f0769c7"><ac:plain-text-body><![CDATA[ | [[Seacord 2005 | AA. Bibliography#Seacord 05]] | Chapter 7, "File I/O" | ]]></ac:plain-text-body></ac:structured-macro> |
...