When a file deletion request is issued for multiple files, it can succeed partially in which case some files are deleted, and some may be left unchanged. In this case an exception of this kind is thrown which holds information about the successfully deleted children, and the file that caused the operation to abort.
public | PartiallyDeletedChildrenException( Creates a new exception holding the data related to the delete operation failure. |
public IOException | getCause() Gets the cause of the delete operation failure associated with the failed child
path. |
public Set< | Gets the set of child file names which were successfully deleted. |
public SakerPath | Gets the absolute path of the file which failed to be deleted. |
Returns the cause of this throwable or null
if the cause is nonexistent or unknown.(The cause is the
throwable that caused this throwable to get thrown.)
This implementation returns the cause that was supplied via one of the constructors requiring a
Throwable
, or that was set after creation with the initCause(Throwable
. Note that it is not necessary to override any of the PrintStackTrace
methods,
all of which invoke the getCause
method to determine the cause of a throwable.
null
if the cause is nonexistent or unknown.The child names are single path names which are considered to be in the directory of the associated deletion request.