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.


Constructor Index

 o ServletException()
Constructs a new ServletException.
 o ServletException(String)
Constructs a new ServletException with the specified message.
 o ServletException(String, Throwable)
Constructs a new ServletException with the specified message and root cause.

Method Index

 o getRootCause()
Returns the root cause of this exception.

Constructors

 o ServletException
 public ServletException()
Constructs a new ServletException.

 o ServletException
 public ServletException(String message)
Constructs a new ServletException with the specified message.

Parameters:
message - Message of exception
 o 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

Methods

 o getRootCause
 public Throwable getRootCause()
Returns the root cause of this exception.

Returns:
Throwable

All Packages  Class Hierarchy  This Package  Previous  Next  Index