APIdia Launch Partner
Top Description Fields Constructors Methods
java.nio.file

public Class DirectoryNotEmptyException

extends FileSystemException
Class Inheritance

Checked exception thrown when a file system operation fails because a directory is not empty.
Since
1.7

Field Summary

Modifier and TypeField and Description
pack-priv static final long

Constructor Summary

AccessConstructor and Description
public
DirectoryNotEmptyException(String
a string identifying the directory or null if not known
dir
)

Constructs an instance of this class.

Method Summary

Inherited from java.nio.file.FileSystemException:
getFilegetMessagegetOtherFilegetReason

Field Detail

serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides java.nio.file.FileSystemException.serialVersionUID.

Annotations
@Serial

Constructor Detail

DirectoryNotEmptyExceptionback to summary
public DirectoryNotEmptyException(String dir)

Constructs an instance of this class.

Parameters
dir:String

a string identifying the directory or null if not known