Package org.codelibs.fess.exception
Class ServletRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.codelibs.fess.exception.ServletRuntimeException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionServletRuntimeException(jakarta.servlet.ServletException e) Constructs a new ServletRuntimeException wrapping the given ServletException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ServletRuntimeException
public ServletRuntimeException(jakarta.servlet.ServletException e) Constructs a new ServletRuntimeException wrapping the given ServletException.- Parameters:
e- The ServletException to wrap
-