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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? unavailableexception.java

?? 圖書管理系統(tǒng),用JSP實現(xiàn),圖書的查詢,添加等功能
?? JAVA
字號:
/*
 * 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;
    }
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲精品午夜久久久| 精品久久久久久久人人人人传媒 | 夜夜精品浪潮av一区二区三区| 国产很黄免费观看久久| 国产无人区一区二区三区| 国产精品亚洲午夜一区二区三区 | 国产成人av电影在线| 国产精品久久久久久久蜜臀| 91亚洲精品一区二区乱码| 一级中文字幕一区二区| 欧美精品亚洲二区| 韩国精品一区二区| 国产精品久久福利| 色一情一乱一乱一91av| 亚洲不卡av一区二区三区| 精品国产精品网麻豆系列| 成人黄色小视频| 亚洲与欧洲av电影| 精品国产青草久久久久福利| gogogo免费视频观看亚洲一| 亚洲丶国产丶欧美一区二区三区| 日韩欧美国产wwwww| 国产成人在线网站| 一区二区三区欧美日| 日韩欧美一卡二卡| 99久久亚洲一区二区三区青草| 亚洲成人在线观看视频| 精品国产乱码久久久久久闺蜜 | 亚洲国产精品精华液网站| 精品欧美一区二区三区精品久久| 成人手机在线视频| 亚洲成人精品一区二区| 国产亚洲精久久久久久| 欧美性猛片aaaaaaa做受| 国产一区二区在线看| 亚洲综合色自拍一区| 久久亚洲欧美国产精品乐播| 欧美午夜免费电影| 国产精品系列在线观看| 偷拍与自拍一区| 国产精品素人一区二区| 337p亚洲精品色噜噜狠狠| 丁香桃色午夜亚洲一区二区三区| 婷婷成人综合网| 中文字幕人成不卡一区| 欧美哺乳videos| 在线观看视频91| 国产成人h网站| 蜜桃在线一区二区三区| 亚洲一区二区av在线| 日本一区二区三级电影在线观看| 日韩亚洲国产中文字幕欧美| 欧洲人成人精品| 成人动漫一区二区| 国产一区二区不卡| 日韩成人免费看| 亚洲国产精品久久一线不卡| 亚洲精品视频在线看| 国产亚洲一二三区| 日韩精品一区二区三区在线| 欧美色电影在线| 一本一本久久a久久精品综合麻豆| 国产九色精品成人porny| 奇米色777欧美一区二区| 亚洲国产精品麻豆| 一区二区三区欧美日韩| 亚洲男人的天堂一区二区 | 欧美国产精品一区二区三区| 久久中文娱乐网| 日韩视频在线永久播放| 欧美一区二区视频网站| 欧美色图在线观看| 在线免费不卡电影| 91国偷自产一区二区三区成为亚洲经典 | 自拍偷拍欧美激情| 欧美国产一区在线| 国产视频亚洲色图| 久久久天堂av| 国产午夜精品美女毛片视频| 久久久久久夜精品精品免费| 欧美变态tickling挠脚心| 日韩一区二区免费高清| 日韩一区二区中文字幕| 日韩精品一区二区三区三区免费| 欧美一区二区精品久久911| 91精品国产手机| 日韩一区二区在线看| 精品国产亚洲一区二区三区在线观看| 亚洲国产精品一区二区www在线| 亚洲你懂的在线视频| 图片区小说区区亚洲影院| 国产一区 二区| 丁香另类激情小说| 国产99久久久久| 成人深夜福利app| 99国产精品久| 在线视频国内自拍亚洲视频| 91精品免费观看| 精品国产99国产精品| 久久夜色精品国产噜噜av| 日本一区二区视频在线| 亚洲免费观看在线视频| 亚洲成年人网站在线观看| 三级久久三级久久| 国产精品影视在线观看| 97久久超碰精品国产| 欧美私人免费视频| 91精品国产日韩91久久久久久| 精品成人一区二区三区| 国产精品嫩草99a| 亚洲一二三四在线观看| 国产综合色在线视频区| av一区二区不卡| 欧美精品一二三四| 久久久精品日韩欧美| 亚洲一区二区三区自拍| 国内精品免费**视频| 色综合天天综合色综合av| 日韩片之四级片| 国产精品你懂的在线欣赏| 午夜一区二区三区视频| 成人亚洲一区二区一| 欧美日韩不卡在线| 欧美国产日产图区| 三级一区在线视频先锋 | 精品国产乱码久久久久久蜜臀| 国产精品美女一区二区在线观看| 亚洲国产另类av| 国产精品18久久久久久久久久久久| 在线视频综合导航| 欧美精品一区男女天堂| 亚洲一区二区黄色| 粉嫩高潮美女一区二区三区 | 激情成人综合网| 欧美视频一区二区三区在线观看| 国产午夜精品在线观看| 午夜久久久影院| 97久久超碰精品国产| 国产午夜三级一区二区三| 日韩精品一级中文字幕精品视频免费观看 | 香蕉久久夜色精品国产使用方法 | 国产精品久久夜| 老色鬼精品视频在线观看播放| 欧美日韩一区久久| 亚洲情趣在线观看| 成人小视频免费在线观看| 日韩一本二本av| 日日夜夜精品视频天天综合网| 日本韩国欧美三级| 中文字幕精品三区| 国产老妇另类xxxxx| 日韩精品一区二区三区蜜臀| 午夜国产精品影院在线观看| 91久久精品国产91性色tv| 国产精品乱码一区二区三区软件| 久久国产尿小便嘘嘘尿| 欧美一区二区福利在线| 亚洲综合在线第一页| 色综合咪咪久久| 亚洲欧美日韩中文字幕一区二区三区 | 调教+趴+乳夹+国产+精品| 91美女片黄在线| 亚洲欧洲av在线| 99在线精品免费| 综合av第一页| 色老综合老女人久久久| 亚洲免费视频成人| 91麻豆免费看片| 一区二区三区视频在线看| 日本福利一区二区| 一个色妞综合视频在线观看| 91久久线看在观草草青青| 日韩伦理电影网| 一本色道a无线码一区v| 亚洲精品国产第一综合99久久| 99国产精品一区| 国产精品护士白丝一区av| 日韩激情一区二区| 欧美男人的天堂一二区| 亚洲国产另类精品专区| 欧美一级视频精品观看| 日日夜夜精品视频天天综合网| 欧美日韩www| 老司机精品视频导航| 精品少妇一区二区三区视频免付费 | 天天综合网天天综合色| 欧美巨大另类极品videosbest | 成人永久免费视频| 国产三级精品在线| 国产99久久久久久免费看农村| 国产精品久久久久影院色老大| 国产精品123区| 国产精品免费观看视频| 91亚洲男人天堂| 亚洲图片欧美视频| 欧美性xxxxx极品少妇| 一区二区三区四区高清精品免费观看| 一本高清dvd不卡在线观看| 亚洲午夜成aⅴ人片| 日韩欧美一二区|