public class FileSystemException extends IOException
| Constructor and Description | 
|---|
| FileSystemException(String file)
              构造这个类的一个实例。 
             | 
| FileSystemException(String file, String other, String reason)
              构造这个类的一个实例。 
             | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getFile()
              返回用于创建此异常的文件。 
             | 
| String | getMessage()
              返回详细消息字符串。 
             | 
| String | getOtherFile()
              返回用于创建此异常的另一个文件。 
             | 
| String | getReason()
              返回解释为什么文件系统操作失败的字符串。 
             | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic FileSystemException(String file)
file - 如果不知道,则标识文件的字符串或 
            null 。 
           public String getFile()
null ) 
           public String getOtherFile()
null ) 
           public String getReason()
public String getMessage()
getMessage在类别 
            Throwable 
           Throwable实例的详细消息字符串(可能是 
            null )。 
            Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.