API Note
This exception should be thrown by a doclet when an IO exception occurs and the file is known that was in use when the exception occurred.
| Modifier and Type | Class and Description |
|---|---|
| public static enum | DocFileIOException.
A hint for the type of operation being performed when the exception occurred. |
| Modifier and Type | Field and Description |
|---|---|
| public final DocFile | fileName
The file that was in use when the exception occurred. |
| public final DocFileIOException. | mode
The mode in which the file was being used when the exception occurred. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | DocFileIOException(DocFile
the file in use when the exception occurred fileName, DocFileIOException.the manner in which the file was being used mode,the underlying exception cause)Creates an exception to wrap an IO exception, the file which caused it, and the manner in which the file was being used. |
| fileName | back to summary |
|---|---|
| public final DocFile fileName The file that was in use when the exception occurred.
| |
| mode | back to summary |
|---|---|
| public final DocFileIOException. The mode in which the file was being used when the exception occurred. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides jdk. | |
| DocFileIOException | back to summary |
|---|---|
| public DocFileIOException(DocFile fileName, DocFileIOException. Creates an exception to wrap an IO exception, the file which caused it, and the manner in which the file was being used.
| |
API Note
This may be used as a hint when reporting a message to the end user.
| Modifier and Type | Field and Description |
|---|---|
| public static final DocFileIOException. | READ
The file was being opened for reading, or being read when the exception occurred. |
| public static final DocFileIOException. | WRITE
The file was being opened for writing, or being written when the exception occurred. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static DocFileIOException. | |
| public static DocFileIOException. |
| READ | back to summary |
|---|---|
| public static final DocFileIOException. The file was being opened for reading, or being read when the exception occurred. | |
| WRITE | back to summary |
|---|---|
| public static final DocFileIOException. The file was being opened for writing, or being written when the exception occurred. | |
| Mode | back to summary |
|---|---|
| private Mode() | |
| valueOf | back to summary |
|---|---|
| public static DocFileIOException. | |
| values | back to summary |
|---|---|
| public static DocFileIOException. | |