- java.lang.Object
 -  
      
- java.lang.Throwable
 -  
        
- java.lang.Exception
 -  
          
- java.io.IOException
 -  
            
- java.nio.file.FileSystemException
 -  
              
- java.nio.file.DirectoryNotEmptyException
 
 
 
 
 
 
-  
       
- 实现的所有接口
 -  
         
Serializable 
public class DirectoryNotEmptyException extends FileSystemException
由于目录不为空而导致文件系统操作失败时抛出的已检查异常。- 从以下版本开始:
 - 1.7
 - 另请参见:
 - Serialized Form
 
 
-  
        
       
-  
             
构造方法摘要
构造方法 构造器 描述 DirectoryNotEmptyException(String dir)构造此类的实例。 
-  
             
方法摘要
-  
               
声明方法的类 java.nio.file.FileSystemException
getFile, getMessage, getOtherFile, getReason 
 -  
               
 
 -  
             
 
-  
        
       
-  
             
构造方法详细信息
-  
DirectoryNotEmptyException
public DirectoryNotEmptyException(String dir)
构造此类的实例。- 参数
 -  
              
dir- a string identifying the directory ornullif not known 
 
 -  
 
 -