public class DirectoryItemHandlerException extends Exception
DirectoryItemHandler.handleItemDirectoryTree.traverse catches the Exception
 and then throws DirectoryItemHandlerException.| Constructor and Description | 
|---|
DirectoryItemHandlerException()
Creates a new DirectoryItemHandlerException without specifying a nested
 exception or a message. 
 | 
DirectoryItemHandlerException(String message)
Creates a new DirectoryItemHandlerException with a message but without
 specifying a nested exception. 
 | 
DirectoryItemHandlerException(Throwable nested)
Creates a new DirectoryItemHandlerException with a nested throwable. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getMessage()  | 
Throwable | 
getNestedThrowable()
Returns the nested throwable, or null if none was specified. 
 | 
void | 
printStackTrace()  | 
void | 
printStackTrace(PrintStream s)  | 
String | 
toString()  | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTracepublic DirectoryItemHandlerException()
public DirectoryItemHandlerException(String message)
public DirectoryItemHandlerException(Throwable nested)
public Throwable getNestedThrowable()
public String getMessage()
getMessage in class Throwablepublic void printStackTrace()
printStackTrace in class Throwablepublic void printStackTrace(PrintStream s)
printStackTrace in class ThrowableCopyright © 2025. All rights reserved.