? DirectoryWalker.CancelException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.commons.io.DirectoryWalker.CancelException
- ????????:
Serializable
- ???:
- DirectoryWalker<T>
CancelException is thrown in DirectoryWalker to cancel the current
processing.
- ????:
-
?????
????????CancelException
(File file, int depth) Constructs aCancelException
with the file and depth when cancellation occurred.CancelException
(String message, File file, int depth) Constructs aCancelException
with an appropriate message and the file and depth when cancellation occurred. -
????
-
???????
-
CancelException
Constructs aCancelException
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 null
-
CancelException
Constructs aCancelException
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 cancelled
-
-
??????
-
getFile
Returns the file when the operation was cancelled.- ??:
- the file when the operation was cancelled
-
getDepth
Returns the depth when the operation was cancelled.- ??:
- the depth when the operation was cancelled
-