|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.io.IOException org.apache.commons.io.DirectoryWalker.CancelException
public static class DirectoryWalker.CancelException
CancelException is thrown in DirectoryWalker to cancel the current processing.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
int |
getDepth()
Return the depth when the operation was cancelled. |
File |
getFile()
Return the file when the operation was cancelled. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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 cancelledMethod Detail |
---|
public File getFile()
public int getDepth()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |