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

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

?? unavailableexception.java

?? jsp數(shù)據(jù)庫(kù)系統(tǒng)
?? JAVA
字號(hào):
/*
 * The Apache Software License, Version 1.1
 *
 * Copyright (c) 1999 The Apache Software Foundation.  All rights 
 * reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer. 
 *
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in
 *    the documentation and/or other materials provided with the
 *    distribution.
 *
 * 3. The end-user documentation included with the redistribution, if
 *    any, must include the following acknowlegement:  
 *       "This product includes software developed by the 
 *        Apache Software Foundation (http://www.apache.org/)."
 *    Alternately, this acknowlegement may appear in the software itself,
 *    if and wherever such third-party acknowlegements normally appear.
 *
 * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
 *    Foundation" must not be used to endorse or promote products derived
 *    from this software without prior written permission. For written 
 *    permission, please contact apache@apache.org.
 *
 * 5. Products derived from this software may not be called "Apache"
 *    nor may "Apache" appear in their names without prior written
 *    permission of the Apache Group.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 * ====================================================================
 *
 * This software consists of voluntary contributions made by many
 * individuals on behalf of the Apache Software Foundation.  For more
 * information on the Apache Software Foundation, please see
 * <http://www.apache.org/>.
 *
 * ====================================================================
 *
 * This source code implements specifications defined by the Java
 * Community Process. In order to remain compliant with the specification
 * DO NOT add / change / or delete method signatures!
 */ 

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 containers can safely treat both types of unavailable
 * exceptions in the same way. However, treating temporary unavailability
 * effectively makes the servlet container more robust. Specifically,
 * the servlet container might block requests to the servlet for a period
 * of time suggested by the servlet, rather than rejecting them until
 * the servlet container 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

    /**
     * 
     * @deprecated	As of Java Servlet API 2.2, use {@link
     * 			#UnavailableException(String)} instead.
     *
     * @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;
    }
 
    /**
     * @deprecated	As of Java Servlet API 2.2, use {@link
     *			#UnavailableException(String, int)} instead.
     *
     * @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;
    }

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

    public UnavailableException(String msg) {
	super(msg);

	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. This can be indicated with
     * a negative or zero value for the <code>seconds</code> argument.
     *
     * @param msg	a <code>String</code> specifying the
     *                  descriptive message, which can be written
     *                  to a log file or displayed for the user.
     *
     * @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
     *
     */
    
    public UnavailableException(String msg, int seconds) {
	super(msg);

	if (seconds <= 0)
	    this.seconds = -1;
	else
	    this.seconds = seconds;

	permanent = false;
    }

    /**
     *
     * Returns a <code>boolean</code> 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;
    }
  
    /**
     * @deprecated	As of Java Servlet API 2.2, with no replacement.
     *
     * 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
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美群妇大交群中文字幕| 久久久久久久精| 亚洲免费在线观看| 国产精品亚洲一区二区三区在线 | 欧美精品久久99久久在免费线| 国产精品美女www爽爽爽| 国产一区久久久| 久久久久久久久久久99999| 免费在线看成人av| 日韩三级免费观看| 精品一区二区三区在线播放| 欧美一级免费大片| 毛片av一区二区| 2023国产精品自拍| 国产成人高清视频| 中文字幕一区二区三区乱码在线 | 婷婷丁香激情综合| 欧美mv和日韩mv国产网站| 美腿丝袜一区二区三区| 久久青草国产手机看片福利盒子| 国产成人久久精品77777最新版本 国产成人鲁色资源国产91色综 | eeuss鲁一区二区三区| 亚洲精品日韩专区silk| 欧美三级中文字| 国产一区二区三区四区五区美女 | 国产精品丝袜91| 91美女片黄在线| 久久国产视频网| 中文字幕乱码亚洲精品一区| 欧美日韩精品电影| 国产成人av资源| 欧美男同性恋视频网站| 日本美女视频一区二区| 久久久精品一品道一区| 欧美亚洲动漫精品| 国产精品一区二区三区99| 亚洲激情图片小说视频| 久久综合色婷婷| 91九色02白丝porn| 成人亚洲一区二区一| 日本欧美一区二区三区乱码| 亚洲天堂a在线| 国产精品无人区| 日韩欧美一区在线| 欧美日韩国产精选| 91色porny| 色婷婷av一区| 成人黄色777网| 国产成人自拍网| 欧美日韩激情一区二区| 午夜视频一区二区三区| 综合激情成人伊人| 国产精品成人免费| 国产午夜精品久久久久久久| 日韩精品一区二区三区视频 | 91丨九色porny丨蝌蚪| 成人免费高清在线观看| 成人h精品动漫一区二区三区| 国产激情一区二区三区桃花岛亚洲 | 色综合久久综合| 欧美日韩亚洲不卡| 欧美日韩一区在线观看| 欧美色男人天堂| 欧美另类久久久品| 欧美tk—视频vk| 亚洲欧美区自拍先锋| 亚洲综合激情小说| 久久99久久99精品免视看婷婷 | 国产精品小仙女| bt欧美亚洲午夜电影天堂| 欧美午夜精品一区| 欧美xxxx在线观看| 亚洲视频电影在线| 日韩激情一区二区| 国产成人免费在线观看不卡| 91国产丝袜在线播放| 91精品国产日韩91久久久久久| 欧美国产日本视频| 日韩免费观看高清完整版 | 国产伦精一区二区三区| 成人午夜碰碰视频| 国产精品亚洲第一区在线暖暖韩国| 国模少妇一区二区三区| 免费在线成人网| 91麻豆精品一区二区三区| av网站免费线看精品| 欧美中文字幕不卡| 欧美日本在线一区| 91精品蜜臀在线一区尤物| 日韩午夜av一区| 国产欧美日韩麻豆91| 亚洲欧美综合另类在线卡通| 国产一区福利在线| 国产精品国模大尺度视频| 天天影视色香欲综合网老头| 国产精品一区二区黑丝| 精品污污网站免费看| 亚洲精品一区二区在线观看| 一区二区三区免费在线观看| 国产精品66部| 7777精品伊人久久久大香线蕉完整版 | 欧美一级片在线| 国产亚洲欧美一区在线观看| 亚洲色图在线看| 狠狠色综合日日| 678五月天丁香亚洲综合网| 国产精品视频看| 国产精品自拍在线| 欧美一二三区精品| 亚洲国产一区二区三区青草影视| 不卡视频免费播放| 久久久久久麻豆| 久久精品噜噜噜成人av农村| 欧美视频一区二区三区四区| 国产精品乱码久久久久久| 国产一区二区三区电影在线观看| 777色狠狠一区二区三区| 亚洲一区成人在线| 99精品国产91久久久久久 | 亚洲视频一区在线| 国产91在线观看| 精品不卡在线视频| 看电视剧不卡顿的网站| 色94色欧美sute亚洲线路一久| 国产欧美精品在线观看| 国产成人精品www牛牛影视| 日韩欧美成人一区| 男女男精品网站| 91精品啪在线观看国产60岁| 亚洲成人av中文| 欧美日韩在线精品一区二区三区激情| 亚洲欧美日韩中文播放| 99久久婷婷国产精品综合| 国产精品女主播在线观看| 亚洲国产sm捆绑调教视频| 日韩欧美国产小视频| 在线观看免费成人| 色成年激情久久综合| 看片网站欧美日韩| 亚洲视频在线一区观看| 欧美一区二区三区视频免费| 丁香激情综合国产| 亚洲图片一区二区| 欧美激情在线观看视频免费| 日本丰满少妇一区二区三区| 黑人巨大精品欧美一区| 亚洲精品免费视频| 欧美性受xxxx| 亚洲一区二区三区四区不卡| 欧美影院午夜播放| 亚瑟在线精品视频| 91精品国产综合久久福利| 久久99精品久久久久久国产越南| 久久中文字幕电影| 97精品国产露脸对白| 亚洲图片欧美色图| 日韩视频永久免费| 成人免费视频免费观看| 亚洲美女淫视频| 欧美福利一区二区| 国产成a人无v码亚洲福利| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆| 色妞www精品视频| 日本美女一区二区三区视频| 国产亚洲成aⅴ人片在线观看 | 欧美精品一区二区三区在线播放| 国产精品一区在线| 亚洲视频 欧洲视频| 9191久久久久久久久久久| 国内精品久久久久影院色| 亚洲欧洲精品一区二区三区| 欧美日韩三级一区二区| 国产原创一区二区三区| 亚洲乱码精品一二三四区日韩在线| 欧美另类videos死尸| 国产精品资源网站| 亚洲国产日韩在线一区模特| 久久综合九色综合久久久精品综合 | 色成人在线视频| 精品一区二区久久| 亚洲女人****多毛耸耸8| 日韩欧美国产高清| 91丝袜呻吟高潮美腿白嫩在线观看| 天堂在线亚洲视频| 国产精品青草久久| 欧美一卡在线观看| 色妞www精品视频| 国产精品一区一区| 日韩av中文字幕一区二区三区| 中文字幕欧美日韩一区| 日韩三级视频中文字幕| 国产精品国产成人国产三级| 国产精品久久久久婷婷| 日本精品免费观看高清观看| 久久免费午夜影院| 亚洲精品国产品国语在线app| 日精品一区二区三区| 成人一级视频在线观看| 欧美精品v国产精品v日韩精品| 欧美丰满少妇xxxbbb|