Class SlingRepositoryException

  • All Implemented Interfaces:
    Serializable

    public class SlingRepositoryException
    extends SlingException
    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:
    Serialized Form
    • Constructor Detail

      • SlingRepositoryException

        public SlingRepositoryException​(RepositoryException cause)
        Constructs a new sling repository exception
        Parameters:
        cause - the repository exception
      • SlingRepositoryException

        public SlingRepositoryException​(String text,
                                        RepositoryException cause)
        Constructs a new sling repository exception
        Parameters:
        text - the message
        cause - the repository exception