org.apache.commons.io
public static class DirectoryWalker.CancelException extends IOException
Field Summary | |
---|---|
int | depth The file depth when the exception was thrown. |
File | file The file being processed when the exception was thrown. |
static long | serialVersionUID Serialization id. |
Constructor Summary | |
---|---|
CancelException(File file, int depth)
Constructs a CancelException with
the file and depth when cancellation occurred.
| |
CancelException(String message, File file, int depth)
Constructs a CancelException with
an appropriate message and the file and depth when
cancellation occurred.
|
Method Summary | |
---|---|
int | getDepth()
Return the depth when the operation was cancelled.
|
File | getFile()
Return the file when the operation was cancelled.
|
CancelException
with
the file and depth when cancellation occurred.
Parameters: file the file when the operation was cancelled, may be null depth the depth when the operation was cancelled, may be null
CancelException
with
an appropriate message and the file and depth when
cancellation occurred.
Parameters: message the detail message file the file when the operation was cancelled depth the depth when the operation was cancelled
Returns: the depth when the operation was cancelled
Returns: the file when the operation was cancelled