Class ServletExceptionWrapper
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.servlet.ServletException
org.apache.felix.http.javaxwrappers.ServletExceptionWrapper
- All Implemented Interfaces:
Serializable
public class ServletExceptionWrapper
extends javax.servlet.ServletException
Wrapper for servlet exception
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionServletExceptionWrapper
(@NotNull jakarta.servlet.ServletException e) Create new wrapepr exception -
Method Summary
Modifier and TypeMethodDescription@NotNull jakarta.servlet.ServletException
Get the original exceptionMethods inherited from class javax.servlet.ServletException
getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ServletExceptionWrapper
public ServletExceptionWrapper(@NotNull @NotNull jakarta.servlet.ServletException e) Create new wrapepr exception- Parameters:
e
- Original exception
-
-
Method Details
-
getException
@NotNull public @NotNull jakarta.servlet.ServletException getException()Get the original exception- Returns:
- The original exception
-