public class FilerException extends IOException
Filer
检测到尝试打开文件将违反Filer提供的Filer
。
这些保证包括不要多次创建相同的文件,而不是创建对应于相同类型的多个文件,而不是为具有无效名称的类型创建文件。
Constructor and Description |
---|
FilerException(String s)
使用指定的详细消息构造异常。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public FilerException(String s)
s
- the detail message, which should include the name of the file attempting to be opened; may be
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.