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 SummaryConstructorsConstructorDescriptionDeprecated.Construct aNestedServletExceptionwith the specified detail message.NestedServletException(String msg, Throwable cause) Deprecated.Construct aNestedServletExceptionwith the specified detail message and nested exception.
- 
Method SummaryMethods inherited from class jakarta.servlet.ServletExceptiongetRootCauseMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
NestedServletExceptionDeprecated.Construct aNestedServletExceptionwith the specified detail message.- Parameters:
- msg- the detail message
 
- 
NestedServletExceptionDeprecated.Construct aNestedServletExceptionwith the specified detail message and nested exception.- Parameters:
- msg- the detail message
- cause- the nested exception
 
 
- 
ServletExceptionnesting