Subclass of ServletException that properly handles a root cause in terms of message and stacktrace, just like NestedChecked/RuntimeException does. Note that the plain ServletException doesn't expose its root cause at all, neither in the exception message nor in printed stack traces!
The similarity between this class and the NestedChecked/RuntimeException class is unavoidable, as this class needs to derive from ServletException and cannot derive from NestedCheckedException.
@author Juergen Hoeller
@since 1.2.5
@see #getMessage
@see #printStackTrace
@see org.springframework.core.NestedCheckedException
@see org.springframework.core.NestedRuntimeException