Class SlingRepositoryException

  • All Implemented Interfaces:
    java.io.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
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 message
        cause - the repository exception