Class ServletRuntimeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.codelibs.fess.exception.ServletRuntimeException
All Implemented Interfaces:
Serializable

public class ServletRuntimeException extends RuntimeException
Runtime exception wrapper for ServletException. This exception is used to wrap checked ServletExceptions and convert them into unchecked RuntimeExceptions, allowing them to be thrown from methods that don't declare ServletException in their throws clause.
See Also:
  • Constructor Details

    • ServletRuntimeException

      public ServletRuntimeException(jakarta.servlet.ServletException e)
      Constructs a new ServletRuntimeException wrapping the given ServletException.
      Parameters:
      e - The ServletException to wrap