Package org.springframework.web.util
Class NestedServletException
java.lang.Object
java.lang.Throwable
java.lang.Exception
jakarta.servlet.ServletException
org.springframework.web.util.NestedServletException
- All Implemented Interfaces:
Serializable
Deprecated.
Legacy subclass of
ServletException
that handles a root cause in terms
of message and stacktrace.- Since:
- 1.2.5
- Author:
- Juergen Hoeller
- See Also:
-
Constructor Summary
ConstructorDescriptionDeprecated.Construct aNestedServletException
with the specified detail message.NestedServletException
(String msg, Throwable cause) Deprecated.Construct aNestedServletException
with the specified detail message and nested exception. -
Method Summary
Methods inherited from class jakarta.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
-
NestedServletException
Deprecated.Construct aNestedServletException
with the specified detail message.- Parameters:
msg
- the detail message
-
NestedServletException
Deprecated.Construct aNestedServletException
with the specified detail message and nested exception.- Parameters:
msg
- the detail messagecause
- the nested exception
-
ServletException
nesting