public class ServletRequestBindingException extends NestedServletException
Extends ServletException for convenient throwing in any Servlet resource (such as a Filter), and NestedServletException for proper root cause handling (as the plain ServletException doesn't expose its root cause at all).
Constructor and Description |
---|
ServletRequestBindingException(java.lang.String msg)
Constructor for ServletRequestBindingException.
|
ServletRequestBindingException(java.lang.String msg,
java.lang.Throwable cause)
Constructor for ServletRequestBindingException.
|
getMessage
getRootCause
public ServletRequestBindingException(java.lang.String msg)
msg
- the detail messagepublic ServletRequestBindingException(java.lang.String msg, java.lang.Throwable cause)
msg
- the detail messagecause
- the root cause