public static class DirectoryWalker.CancelException extends IOException
Constructor and Description |
---|
DirectoryWalker.CancelException(File file,
int depth)
Constructs a
CancelException with
the file and depth when cancellation occurred. |
DirectoryWalker.CancelException(String message,
File file,
int depth)
Constructs a
CancelException with
an appropriate message and the file and depth when
cancellation occurred. |
Modifier and Type | Method and Description |
---|---|
int |
getDepth()
Return the depth when the operation was cancelled.
|
File |
getFile()
Return the file when the operation was cancelled.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DirectoryWalker.CancelException(File file, int depth)
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 DirectoryWalker.CancelException(String message, File file, int depth)
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 © 2002–2016 The Apache Software Foundation. All rights reserved.