All Packages Class Hierarchy This Package Previous Next Index
Class javax.servlet.ServletException
javax.servlet.ServletException
- public class ServletException
This exception is thrown to indicate a servlet problem.
-
ServletException()
- Constructs a new ServletException.
-
ServletException(String)
- Constructs a new ServletException with the specified message.
-
ServletException(String, Throwable)
- Constructs a new ServletException with the specified message
and root cause.
-
getRootCause()
- Returns the root cause of this exception.
ServletException
public ServletException()
- Constructs a new ServletException.
ServletException
public ServletException(String message)
- Constructs a new ServletException with the specified message.
- Parameters:
- message - Message of exception
ServletException
public ServletException(String message,
Throwable rootCause)
- Constructs a new ServletException with the specified message
and root cause.
- Parameters:
- message - Message of exception
- rootCause - Exception that caused this exception to be raised
getRootCause
public Throwable getRootCause()
- Returns the root cause of this exception.
- Returns:
- Throwable
All Packages Class Hierarchy This Package Previous Next Index