Class SlingException

    • Constructor Detail

      • SlingException

        public SlingException​(String text,
                              Throwable cause)
        Constructs a new Sling exception when the Servlet needs to do the following:
        • throw an exception
        • include the "root cause" exception
        • include a description message
        Parameters:
        text - the exception text
        cause - the root cause