home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / VCAFE.3.0A / Main.bin / ServletException.java < prev    next >
Text File  |  1998-04-21  |  1KB  |  52 lines

  1. /*
  2.  * @(#)ServletException.java    1.6 97/10/08
  3.  * 
  4.  * Copyright (c) 1995-1997 Sun Microsystems, Inc. All Rights Reserved.
  5.  * 
  6.  * This software is the confidential and proprietary information of Sun
  7.  * Microsystems, Inc. ("Confidential Information").  You shall not
  8.  * disclose such Confidential Information and shall use it only in
  9.  * accordance with the terms of the license agreement you entered into
  10.  * with Sun.
  11.  * 
  12.  * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
  13.  * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  14.  * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
  15.  * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
  16.  * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
  17.  * THIS SOFTWARE OR ITS DERIVATIVES.
  18.  * 
  19.  * CopyrightVersion 1.0
  20.  */
  21.  
  22. package javax.servlet;
  23.  
  24.  
  25. /**
  26.  * This exception is thrown to indicate a servlet problem.
  27.  *
  28.  * @version    1.6, 10/08/97
  29.  */
  30. public 
  31. class ServletException extends Exception {
  32.  
  33.     /**
  34.      * Constructs a new ServletException with the specified
  35.      * descriptive message.
  36.      * 
  37.      * @param msg the string describing the exception
  38.      */
  39.     public ServletException(String msg) {
  40.     super(msg);
  41.     }
  42.  
  43.     /**
  44.      * Constructs a new ServletException.
  45.      * 
  46.      */
  47.     public ServletException() {
  48.     super();
  49.     }
  50. }
  51.  
  52.