Class SlingServletException

All Implemented Interfaces:
Serializable

public class SlingServletException extends SlingException
The SlingServletException is a runtime exception wrapper for the Servlet API ServletException. This exception is used to catch a ServletException and forward it as a runtime exception to be handled at the outermost level.
See Also:
  • Constructor Details

    • SlingServletException

      public SlingServletException(jakarta.servlet.ServletException cause)
      Create a new exception
      Parameters:
      cause - The cause
      Since:
      2.4.0
    • SlingServletException

      @Deprecated public SlingServletException(javax.servlet.ServletException cause)
      Create a new exception
      Parameters:
      cause - The cause