javax.servlet
Class ServletException
Exception
javax.servlet.ServletException
public class ServletException
extends Exception
This exception is thrown by a servlet when a servlet related problem occurs.
ServletException() - Creates a new ServletException.
|
ServletException(String message) - Creates a new ServletException with a message.
|
ServletException(String message, Throwable cause) - Creates a new ServletException with a message
and what caused the exception.
|
ServletException(Throwable cause) - Creates a new ServletException with what caused the exception.
|
Throwable | getRootCause() - Gives the Throwable that caused this exception if known, otherwise null.
|
ServletException
public ServletException()
Creates a new ServletException.
ServletException
public ServletException(String message)
Creates a new ServletException with a message.
message
- why this exception occured
ServletException
public ServletException(String message,
Throwable cause)
Creates a new ServletException with a message
and what caused the exception.
message
- why this exception occuredcause
- what made this exception occur
ServletException
public ServletException(Throwable cause)
Creates a new ServletException with what caused the exception.
cause
- what made this exception occur
getRootCause
public Throwable getRootCause()
Gives the Throwable that caused this exception if known, otherwise null.
- Throwable that caused this exception