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(java.lang.String text,
RepositoryException cause)
Constructs a new sling repository exception
|
public SlingRepositoryException(RepositoryException cause)
cause
- the repository exceptionpublic SlingRepositoryException(java.lang.String text, RepositoryException cause)
text
- the messagecause
- the repository exceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved