public class SlingRepositoryException extends SlingException
SlingRepositoryException is a runtime exception wrapper for
the RepositoryException. This exception is used to catch an
RepositoryException and forward it as a runtime exception to be
handled at the outermost level.| Constructor and Description |
|---|
SlingRepositoryException(RepositoryException cause)
Constructs a new sling repository exception
|
SlingRepositoryException(String text,
RepositoryException cause)
Constructs a new sling repository exception
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic SlingRepositoryException(RepositoryException cause)
cause - the repository exceptionpublic SlingRepositoryException(String text, RepositoryException cause)
text - the messagecause - the repository exceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved