public static class DirectoryWalker.CancelException
extends java.io.IOException
| Constructor and Description |
|---|
CancelException(java.io.File file,
int depth)
Constructs a
DirectoryWalker.CancelException with
the file and depth when cancellation occurred. |
CancelException(java.lang.String message,
java.io.File file,
int depth)
Constructs a
DirectoryWalker.CancelException with
an appropriate message and the file and depth when
cancellation occurred. |
| Modifier and Type | Method and Description |
|---|---|
int |
getDepth()
Returns the depth when the operation was cancelled.
|
java.io.File |
getFile()
Returns the file when the operation was cancelled.
|
public CancelException(java.io.File file,
int depth)
DirectoryWalker.CancelException with
the file and depth when cancellation occurred.file - the file when the operation was cancelled, may be nulldepth - the depth when the operation was cancelled, may be nullpublic CancelException(java.lang.String message,
java.io.File file,
int depth)
DirectoryWalker.CancelException with
an appropriate message and the file and depth when
cancellation occurred.message - the detail messagefile - the file when the operation was cancelleddepth - the depth when the operation was cancelledCopyright © 2010 - 2023 Adobe. All Rights Reserved