public abstract class WorkspaceItemException extends AbstractCheckedException
This class is abstract because this exception should not be constructed directly. Rather, a more detailed subclass should be constructed and thrown.
Constructor and Description |
---|
WorkspaceItemException(String path,
String message)
Constructs a
WorkspaceItemException with the specified path and message. |
Modifier and Type | Method and Description |
---|---|
String |
getPath()
Gets the path of the workspace item that caused the exception.
|
getMessage, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public WorkspaceItemException(String path, String message)
WorkspaceItemException
with the specified path and message.path
- the path of the workspace item.message
- the detail message (which is saved for later retrieval by the AbstractCheckedException.getMessage()
method).public String getPath()
<i>Copyright (c) 2021, SAS Institute Inc., Cary, NC, USA</i>