deleteFile() method does not throw an exception if file/directory does not exist (Doc ID 1025337.1)

Last updated on NOVEMBER 01, 2016

Applies to:

Oracle Java CAPS - Version: 5.1.0 and later   [Release: 5.1 and later ]
Information in this document applies to any platform.
Checked for relevance on 28-JUN-2011

Symptoms

Trying to delete a file, but an exception is not thrown when the file does not exist.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms