All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class WebSite.Servlet.ServletException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----java.lang.RuntimeException
                           |
                           +----WebSite.Servlet.ServletException

public class ServletException
extends RuntimeException

An exception has been thrown by the servlet package. If not caught, this results in a 500 Server Error response with a stack trace and an optional detail message being sent back to the client.


Constructor Index

 o ServletException()
Constructs a ServletException with no detail message.
 o ServletException(String)
Constructs a ServletException with the specified detail message.

Constructors

 o ServletException
 public ServletException()
Constructs a ServletException with no detail message. A detail message is a String that describes this particular exception.

 o ServletException
 public ServletException(String s)
Constructs a ServletException with the specified detail message. A detail message is a String that describes this particular exception.

Parameters:
s - the String containing a detail message

All Packages  Class Hierarchy  This Package  Previous  Next  Index