Package com.day.cq.commons
Class SlingRepositoryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.sling.api.SlingException
com.day.cq.commons.SlingRepositoryException
- All Implemented Interfaces:
Serializable
The
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.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSlingRepositoryException(String text, RepositoryException cause) Constructs a new sling repository exceptionConstructs a new sling repository exception -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SlingRepositoryException
Constructs a new sling repository exception- Parameters:
cause- the repository exception
-
SlingRepositoryException
Constructs a new sling repository exception- Parameters:
text- the messagecause- the repository exception
-