亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? unavailableexception.java

?? Java 的servlets和jsp的軟件開發(fā)包。支持jsp1.0以及servlet2.1。版本比較舊
?? JAVA
字號:
/*
 * $Id: UnavailableException.java,v 1.4 1999/04/20 20:37:43 sahmed Exp $
 * 
 * Copyright (c) 1997-1999 Sun Microsystems, Inc. All Rights Reserved.
 * 
 * This software is the confidential and proprietary information of Sun
 * Microsystems, Inc. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Sun.
 * 
 * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
 * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
 * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
 * THIS SOFTWARE OR ITS DERIVATIVES.
 * 
 * CopyrightVersion 1.0
 */

package javax.servlet;


/**
 * Defines an exception that a servlet throws to indicate
 * that it is permanently or temporarily unavailable. 
 *
 * <p>When a servlet is permanently unavailable, something is wrong
 * with the servlet, and it cannot handle
 * requests until some action is taken. For example, the servlet
 * might be configured incorrectly, or its state may be corrupted.
 * A servlet should log both the error and the corrective action
 * that is needed.
 *
 * <p>A servlet is temporarily unavailable if it cannot handle
 * requests momentarily due to some system-wide problem. For example,
 * a third-tier server might not be accessible, or there may be 
 * insufficient memory or disk storage to handle requests. A system
 * administrator may need to take corrective action.
 *
 * <p>Servlet engines can safely treat both types of unavailable
 * exceptions in the same way. However, treating temporary unavailability
 * effectively makes the servlet engine more robust. Specifically,
 * the servlet engine might block requests to the servlet for a period
 * of time suggested by the servlet, rather than rejecting them until
 * the servlet engine restarts.
 *
 *
 * @author 	Various
 * @version 	$Version$
 *
 */

public  class UnavailableException extends ServletException {

    private Servlet	servlet;		// what's unavailable
    private boolean	permanent;		// needs admin action?
    private int		seconds;		// unavailability estimate


    /**
     * 
     * Constructs a new exception with a descriptive
     * message indicating that the servlet is permanently
     * unavailable.
     *
     * @param servlet 	the <code>Servlet</code> instance that is unavailable
     *
     * @param msg 	a <code>String</code> specifying the descriptive message
     *
     */

    public UnavailableException (Servlet servlet, String msg) {
	super (msg);
	this.servlet = servlet;
	permanent = true;
    }
 
 

    /**
     * Constructs a new exception with a descriptive message
     * indicating that the servlet is temporarily unavailable
     * and giving an estimate of how long it will be unavailable.
     * 
     * <p>In some cases, the servlet cannot make an estimate. For example,
     * the servlet might know that a server it needs is not running,
     * but not be able to report how long it will take to be restored
     * to functionality. You can indicate that the servlet
     * can't estimate a time by entering a negative or zero value 
     * for the <code>seconds</code> argument. 
     *
     * @param seconds		an integer specifying the number of seconds
     * 				the servlet expects to be unavailable; if
     *				zero or negative, indicates that the servlet
     *				can't make an estimate
     *
     * @param servlet		the <code>Servlet</code> that is unavailable
     * 
     * @param msg		a <code>String</code> specifying the descriptive 
     *				message, which can be written to a log file or 
     *				displayed for the user.
     *
     */
    
    public UnavailableException (int seconds, Servlet servlet, String msg) {
	super (msg);
	this.servlet = servlet;
	if (seconds <= 0)
	    this.seconds = -1;
	else
	    this.seconds = seconds;
	permanent = false;
    }




    /**
     *
     * Returns a <code>boolean</code> primitive type indicating
     * whether the servlet is permanently unavailable.
     * If so, something is wrong with the servlet, and the
     * system administrator must take some corrective action.
     *
     * @return		<code>true</code> if the servlet is
     *			permanently unavailable; <code>false</code>
     *			if the servlet is available or temporarily
     *			unavailable
     *
     */
     
    public boolean isPermanent () {
	return permanent;
    }

  
  
  
    /**
     * Returns the servlet that is reporting its unavailability.
     * 
     * @return		the <code>Servlet</code> object that is 
     *			throwing the <code>UnavailableException</code>
     *
     */
     
    public Servlet getServlet () {
	return servlet;
    }




    /**
     * Returns the number of seconds the servlet expects to 
     * be temporarily unavailable.  
     *
     * <p>If this method returns a negative number, the servlet
     * is permanently unavailable or cannot provide an estimate of
     * how long it will be unavailable. No effort is
     * made to correct for the time elapsed since the exception was
     * first reported.
     *
     * @return		an integer specifying the number of seconds
     *			the servlet will be temporarily unavailable,
     *			or a negative number if the servlet is permanently
     *			unavailable or cannot make an estimate
     *
     */
     
    public int getUnavailableSeconds () {
	return permanent ? -1 : seconds;
    }
}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品人在线二区三区| 在线一区二区观看| 日韩无一区二区| 亚洲成a人片在线观看中文| 日本韩国欧美一区| 亚洲 欧美综合在线网络| 欧美日韩精品一区二区三区| 亚洲一区二区不卡免费| 欧美日韩精品一区二区在线播放| 亚洲午夜免费福利视频| 欧美一级高清片在线观看| 黑人精品欧美一区二区蜜桃| 久久婷婷综合激情| 成人一区二区三区中文字幕| 最新热久久免费视频| 欧美影院精品一区| 日本特黄久久久高潮| 精品嫩草影院久久| 成人免费视频视频| 亚洲在线一区二区三区| 欧美一区二区三区色| 国产大陆亚洲精品国产| 中文字幕一区二区三区在线不卡| 日本乱码高清不卡字幕| 日本午夜精品一区二区三区电影| 久久久国产精品午夜一区ai换脸| 色综合天天性综合| 亚洲国产精品久久久男人的天堂| 精品国产一二三区| 99久久精品国产网站| 视频一区二区中文字幕| 国产性色一区二区| 在线观看日韩高清av| 久久成人免费电影| 亚洲欧美视频在线观看视频| 777亚洲妇女| 高清不卡在线观看| 日韩激情视频在线观看| 国产精品入口麻豆原神| 欧美日韩一区国产| 成人av资源在线观看| 日本色综合中文字幕| 国产精品久线在线观看| 69p69国产精品| 97精品国产露脸对白| 激情综合色播激情啊| 亚洲午夜成aⅴ人片| 亚洲国产精品成人综合色在线婷婷| 欧美天天综合网| 国产91清纯白嫩初高中在线观看 | 9色porny自拍视频一区二区| 日韩高清不卡一区二区| 国产精品盗摄一区二区三区| 正在播放一区二区| 91视频在线看| 国产精品99久| 日本欧美韩国一区三区| 亚洲资源在线观看| 亚洲人成亚洲人成在线观看图片 | 97精品超碰一区二区三区| 精品一区二区三区欧美| 亚洲午夜久久久久久久久电影网| 国产精品色在线观看| 久久综合久色欧美综合狠狠| 欧美午夜电影在线播放| 成人黄色a**站在线观看| 久久99精品久久久| 日本欧美加勒比视频| 午夜视频一区在线观看| 亚洲精品国产一区二区三区四区在线| 亚洲精品一区二区三区影院| 91精品国产色综合久久久蜜香臀| 日本电影欧美片| 91在线无精精品入口| 丰满少妇久久久久久久| 国产999精品久久| 国产不卡视频在线播放| 国产在线视视频有精品| 久久99精品久久只有精品| 日本免费新一区视频| 午夜免费欧美电影| 午夜精品久久久久久久| 亚洲3atv精品一区二区三区| 亚洲午夜在线视频| 亚洲国产精品视频| 爽爽淫人综合网网站| 午夜欧美在线一二页| 日韩国产在线一| 免费成人在线观看| 激情欧美一区二区| 国产一区二区不卡| 丁香婷婷综合激情五月色| 国产91精品久久久久久久网曝门| 国产成人免费在线视频| 成人丝袜18视频在线观看| 99精品欧美一区二区三区综合在线| av激情成人网| 一本色道**综合亚洲精品蜜桃冫 | 久久精品国产亚洲a| 国产一区二区影院| 成人国产精品视频| 在线视频国产一区| 51精品秘密在线观看| 欧美精品一区二区三区蜜桃| 久久麻豆一区二区| 亚洲天堂精品在线观看| 亚洲一二三专区| 日韩avvvv在线播放| 极品美女销魂一区二区三区 | 一本一本大道香蕉久在线精品 | 欧美色区777第一页| 欧美日韩国产成人在线免费| 91麻豆精品国产综合久久久久久| 日韩欧美中文字幕公布| 中文字幕免费一区| 亚洲综合一区二区三区| 麻豆精品视频在线观看视频| 国产不卡视频一区| 欧美日高清视频| 26uuu精品一区二区三区四区在线 26uuu精品一区二区在线观看 | 久久精品国产99国产| 成人综合婷婷国产精品久久| 色综合夜色一区| 日韩精品专区在线影院观看| 国产精品视频看| 日本vs亚洲vs韩国一区三区二区 | 国产亚洲污的网站| 一区二区三区四区国产精品| 免费在线观看不卡| 99riav久久精品riav| 欧美一区二区国产| 亚洲人成影院在线观看| 黄色精品一二区| 欧美四级电影在线观看| 欧美经典三级视频一区二区三区| 亚洲成人av福利| 成人午夜激情影院| 欧美一区二区性放荡片| 亚洲人精品午夜| 国产电影一区二区三区| 在线电影欧美成精品| 国产精品日韩成人| 激情综合网最新| 欧美日韩亚洲综合| 亚洲美女在线国产| 国产精品亚洲午夜一区二区三区| 欧美久久久影院| 亚洲色图欧美在线| 欧美日韩大陆一区二区| 欧美性受极品xxxx喷水| 久久久久免费观看| 日本在线不卡一区| 欧美亚洲禁片免费| 国产精品国产三级国产普通话99 | 午夜电影网亚洲视频| 成人黄页毛片网站| 国产日韩欧美高清在线| 久久成人麻豆午夜电影| 欧美视频一区二区在线观看| 中文字幕一区三区| 国产91色综合久久免费分享| 久久久久久97三级| 加勒比av一区二区| 日韩欧美一二三四区| 天天做天天摸天天爽国产一区| 91福利国产成人精品照片| 亚洲色图视频网| 色噜噜狠狠一区二区三区果冻| 国产精品私人影院| 不卡av在线免费观看| 国产精品二三区| 成人99免费视频| 中文字幕第一页久久| 国产精品亚洲人在线观看| 久久久精品免费免费| 国产精品一区在线观看你懂的| 久久影院午夜片一区| 国产一区二区视频在线播放| 精品黑人一区二区三区久久 | 久久综合综合久久综合| 欧美va日韩va| 激情综合色播激情啊| 久久久久久久久久久久电影| 国产久卡久卡久卡久卡视频精品| 久久亚洲捆绑美女| 国产不卡视频在线播放| 亚洲欧洲日产国码二区| 91一区二区三区在线观看| 亚洲欧美国产毛片在线| 91久久精品网| 日韩avvvv在线播放| 精品卡一卡二卡三卡四在线| 国产91综合一区在线观看| 亚洲免费在线播放| 欧美三级电影网站| 久久精品国产99久久6| 国产欧美久久久精品影院| 91在线码无精品| 亚洲成人一二三| 日韩欧美123|