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, setStackTrace
public DirectoryItemHandlerException()
public DirectoryItemHandlerException(String message)
public DirectoryItemHandlerException(Throwable nested)
public Throwable getNestedThrowable()
public String getMessage()
getMessage
in class Throwable
public void printStackTrace()
printStackTrace
in class Throwable
public void printStackTrace(PrintStream s)
printStackTrace
in class Throwable
Copyright © 2023. All rights reserved.