| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final String | |
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| public | FileSystemException(String
a string identifying the file or file)null if not known.Constructs an instance of this class. |
| public | FileSystemException(String
a string identifying the file or file, String null if not known.a string identifying the other file or other, String null if there
isn't another file or if not knowna reason message with additional information or reason)nullConstructs an instance of this class. |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | |
| public String | Returns: the other file (can benull)Returns the other file used to create this exception. |
| public String | Returns: the string explaining why the file system operation failedReturns the string explaining why the file system operation failed. |
| file | back to summary |
|---|---|
| private final String file | |
| other | back to summary |
|---|---|
| private final String other | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID Hides java. | |
| FileSystemException | back to summary |
|---|---|
| public FileSystemException(String file) Constructs an instance of this class. This constructor should be used when an operation involving one file fails and there isn't any additional information to explain the reason.
| |
| FileSystemException | back to summary |
|---|---|
| public FileSystemException(String file, String other, String reason) Constructs an instance of this class. This constructor should be used when an operation involving two files fails, or there is additional information to explain the reason. | |
| getFile | back to summary |
|---|---|
| public String getFile() Returns the file used to create this exception.
| |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides java. Returns the detail message string.
| |
| getOtherFile | back to summary |
|---|---|
| public String getOtherFile() Returns the other file used to create this exception.
| |
| getReason | back to summary |
|---|---|
| public String getReason() Returns the string explaining why the file system operation failed.
| |