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:
java.io.Serializable
public class SlingRepositoryException extends SlingException
TheSlingRepositoryException
is a runtime exception wrapper for theRepositoryException
. This exception is used to catch anRepositoryException
and forward it as a runtime exception to be handled at the outermost level.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SlingRepositoryException(java.lang.String text, RepositoryException cause)
Constructs a new sling repository exceptionSlingRepositoryException(RepositoryException cause)
Constructs a new sling repository exception
-
-
-
Constructor Detail
-
SlingRepositoryException
public SlingRepositoryException(RepositoryException cause)
Constructs a new sling repository exception- Parameters:
cause
- the repository exception
-
SlingRepositoryException
public SlingRepositoryException(java.lang.String text, RepositoryException cause)
Constructs a new sling repository exception- Parameters:
text
- the messagecause
- the repository exception
-
-