- java.lang.Object
 -  
      
- java.lang.Throwable
 -  
        
- java.lang.Exception
 -  
          
- java.io.IOException
 -  
            
- java.nio.file.FileSystemException
 -  
              
- java.nio.file.FileAlreadyExistsException
 
 
 
 
 
 
-  
       
- 实现的所有接口
 -  
         
Serializable 
public class FileAlreadyExistsException extends FileSystemException
当尝试创建文件或目录并且该名称的文件已存在时,抛出检查的异常。- 从以下版本开始:
 - 1.7
 - 另请参见:
 - Serialized Form
 
 
-  
        
       
-  
             
构造方法摘要
构造方法 构造器 描述 FileAlreadyExistsException(String file)构造此类的实例。FileAlreadyExistsException(String file, String other, String reason)构造此类的实例。 
-  
             
方法摘要
-  
               
声明方法的类 java.nio.file.FileSystemException
getFile, getMessage, getOtherFile, getReason 
 -  
               
 
 -  
             
 
-  
        
       
-  
             
构造方法详细信息
-  
FileAlreadyExistsException
public FileAlreadyExistsException(String file)
构造此类的实例。- 参数
 -  
              
file- 标识文件的字符串或null如果未知) 
 
 -  
 
 -