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

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

?? httpexception.java

?? Light in the box 抓取程序。 使用HttpClient
?? JAVA
字號:
/* * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/src/java/org/apache/commons/httpclient/HttpException.java,v 1.19 2004/09/30 18:53:20 olegk Exp $ * $Revision: 480424 $ * $Date: 2006-11-29 06:56:49 +0100 (Wed, 29 Nov 2006) $ * * ==================================================================== * *  Licensed to the Apache Software Foundation (ASF) under one or more *  contributor license agreements.  See the NOTICE file distributed with *  this work for additional information regarding copyright ownership. *  The ASF licenses this file to You under the Apache License, Version 2.0 *  (the "License"); you may not use this file except in compliance with *  the License.  You may obtain a copy of the License at * *      http://www.apache.org/licenses/LICENSE-2.0 * *  Unless required by applicable law or agreed to in writing, software *  distributed under the License is distributed on an "AS IS" BASIS, *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *  See the License for the specific language governing permissions and *  limitations under the License. * ==================================================================== * * 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/>. * */package org.apache.commons.httpclient;import java.io.IOException;import java.io.PrintStream;import java.io.PrintWriter;import java.lang.reflect.Method;/** * Signals that an HTTP or HttpClient exception has occurred. *  * @author Laura Werner *  * @version $Revision: 480424 $ $Date: 2006-11-29 06:56:49 +0100 (Wed, 29 Nov 2006) $ */public class HttpException extends IOException {    /**     * Creates a new HttpException with a <tt>null</tt> detail message.     */    public HttpException() {        super();        this.cause = null;    }    /**     * Creates a new HttpException with the specified detail message.     *     * @param message the exception detail message     */    public HttpException(String message) {        super(message);        this.cause = null;    }    /**     * Creates a new HttpException with the specified detail message and cause.     *      * @param message the exception detail message     * @param cause the <tt>Throwable</tt> that caused this exception, or <tt>null</tt>     * if the cause is unavailable, unknown, or not a <tt>Throwable</tt>     *      * @since 3.0     */    public HttpException(String message, Throwable cause) {        super(message);        this.cause = cause;                // If we're running on JDK 1.4 or later, tell Throwable what the cause was        try {            Class[] paramsClasses = new Class[] { Throwable.class };            Method initCause = Throwable.class.getMethod("initCause", paramsClasses);            initCause.invoke(this, new Object[] { cause });        } catch (Exception e) {            // The setCause method must not be available        }    }    /**     * Return the <tt>Throwable</tt> that caused this exception, or <tt>null</tt>     *         if the cause is unavailable, unknown, or not a <tt>Throwable</tt>.     *      * @return the <tt>Throwable</tt> that caused this exception, or <tt>null</tt>     *         if the cause is unavailable, unknown, or not a <tt>Throwable</tt>     *      * @since 3.0     */    public Throwable getCause() {        return cause;    }    /**     * Print this HttpException and its stack trace to the standard error stream.     *      * @since 3.0     */    public void printStackTrace() {        printStackTrace(System.err);    }    /**     * Print this HttpException and its stack trace to the specified print stream.     *      * @param s the <tt>PrintStream</tt> to which the exception and its stack trace     * should be written     *      * @since 3.0     */    public void printStackTrace(PrintStream s) {        try {            // JDK 1.4 has a nice printStackTrace method that prints the cause's stack            // trace too and prunes out duplicate stack frames.  Call it if possible,            // which is determined by checking whether JDK 1.4's getStackTrace method is present             Class[] paramsClasses = new Class[] {  };            this.getClass().getMethod("getStackTrace", paramsClasses);            super.printStackTrace(s);        } catch (Exception ex) {            // If that didn't work, print it out ourselves            // First print this exception's stack trace.            super.printStackTrace(s);            if (cause != null) {                // Print out the exception that caused this one.                // This will recurse if the cause is another HttpException.                s.print("Caused by: ");                cause.printStackTrace(s);            }        }    }    /**     * Print this HttpException and its stack trace to the specified print writer.     *      * @param s the <tt>PrintWriter</tt> to which the exception and its stack trace     * should be written     *      * @since 3.0     */    public void printStackTrace(PrintWriter s) {        try {            // JDK 1.4 has a nice printStackTrace method that prints the cause's stack            // trace too and prunes out duplicate stack frames.  Call it if possible,            // which is determined by checking whether JDK 1.4's getStackTrace method is present             Class[] paramsClasses = new Class[] {  };            this.getClass().getMethod("getStackTrace", paramsClasses);            super.printStackTrace(s);        } catch (Exception ex) {            // If that didn't work, print it out ourselves            // First print this exception's stack trace.            super.printStackTrace(s);            if (cause != null) {                // Print out the exception that caused this one.                // This will recurse if the cause is another HttpException.                s.print("Caused by: ");                cause.printStackTrace(s);            }        }    }    /**     * Sets the text description of the reason for an exception.     *     * @param reason The reason for the exception.     *     * @deprecated HttpClient no longer uses this for itself.  It is only     * provided for compatibility with existing clients, and will be removed     * in a future release.     */    public void setReason(String reason) {        this.reason = reason;    }    /**     * Get the text description of the reason for an exception.     *     * @deprecated HttpClient no longer uses this for itself.  It is only     * provided for compatibility with existing clients, and will be removed     * in a future release.     */    public String getReason() {        return reason;    }    /**     * Sets the status code description of the reason for an exception.     *     * @param code The reason for the exception.  This is intended to be an     *  HTTP status code.     *     * @deprecated HttpClient no longer uses this for itself.  It is only     * provided for compatibility with existing clients, and will be removed     * in a future release.     */    public void setReasonCode(int code) {        reasonCode = code;    }    /**     * Get the status code description of the reason for an exception.     *     * @deprecated HttpClient no longer uses this for itself.  It is only     * provided for compatibility with existing clients, and will be removed     * in a future release.     */    public int getReasonCode() {        return this.reasonCode;    }    /**     * A "reason" string provided for compatibility with older clients.     *     * @deprecated HttpClient no longer uses this field for itself.  It     * is only provided for compatibility with existing clients.     */    private String reason;    /**     * Reason code for compatibility with older clients.     *     * @deprecated  HttpClient no longer uses this field for itself.     *  It is only provided for compatibility with existing clients.     */    private int reasonCode = HttpStatus.SC_OK;    /** The original Throwable representing the cause of this error */    private final Throwable cause;}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一本一道综合狠狠老| 成年人国产精品| 亚洲国产精品综合小说图片区| 国产精品毛片a∨一区二区三区| 日韩一区二区电影| 欧美一区二区三区在线观看| 日韩美一区二区三区| 精品88久久久久88久久久| 久久综合久久鬼色中文字| 日韩一区二区在线观看| wwwwxxxxx欧美| 中文字幕精品三区| 亚洲免费毛片网站| 五月综合激情网| 另类中文字幕网| 国产成人精品综合在线观看| 成人性生交大片免费看在线播放 | 欧美美女一区二区三区| 在线视频观看一区| 9191成人精品久久| 久久久久久免费| 亚洲婷婷在线视频| 无码av免费一区二区三区试看| 日韩电影免费在线看| 狠狠色丁香久久婷婷综合丁香| 国产乱色国产精品免费视频| 成人性生交大片免费看中文 | 国产精品88av| 色综合天天综合狠狠| 91.com视频| 亚洲国产高清aⅴ视频| 亚洲高清久久久| 国产精品 欧美精品| 欧美视频一二三区| 久久精品在线免费观看| 日韩理论片在线| 久久国产视频网| 91偷拍与自偷拍精品| 日韩欧美国产精品| 一区二区三区产品免费精品久久75| 免费xxxx性欧美18vr| 色综合天天做天天爱| 久久久无码精品亚洲日韩按摩| 亚洲一二三四久久| 国产suv精品一区二区三区| 欧美精品色综合| 中文字幕中文字幕一区| 蜜臀久久99精品久久久久宅男| 97久久超碰国产精品电影| 欧美成人a∨高清免费观看| 亚洲免费三区一区二区| 国产成人免费视频一区| 欧美成va人片在线观看| 亚洲成人免费看| 91黄色免费观看| 中文字幕一区二区三区不卡| 久久国产剧场电影| 777色狠狠一区二区三区| 亚洲柠檬福利资源导航| 国产99久久久国产精品| 久久综合五月天婷婷伊人| 亚洲va在线va天堂| 欧洲亚洲精品在线| 亚洲色图欧美激情| 99久久久精品| 亚洲欧美在线高清| 成人高清免费观看| 国产欧美日韩精品在线| 国产精品一区二区果冻传媒| 日韩精品一区二区三区中文不卡 | 日韩av网站免费在线| 欧美伊人久久久久久午夜久久久久| 国产精品电影院| 国产成人在线电影| 国产色综合一区| 成人在线综合网| 国产精品国产精品国产专区不片| 国产精品一区二区x88av| 久久综合色综合88| 成人黄色大片在线观看| 国产精品久久一卡二卡| 93久久精品日日躁夜夜躁欧美| 国产精品人成在线观看免费| 高清在线不卡av| 成人免费一区二区三区在线观看| 99久久免费精品高清特色大片| 中文字幕亚洲精品在线观看| 99久久精品免费看| 亚洲精品国产第一综合99久久| 91福利在线观看| 亚洲成人精品一区二区| 欧美一卡二卡三卡四卡| 国产一区二区三区四区五区美女| 久久久精品黄色| jizzjizzjizz欧美| 亚洲综合丁香婷婷六月香| 欧美美女bb生活片| 国产一区二区三区| 亚洲欧美自拍偷拍色图| 欧美日韩视频不卡| 国产在线精品不卡| 亚洲婷婷综合久久一本伊一区| 欧美日韩视频在线观看一区二区三区 | 久久国产麻豆精品| 国产日本欧洲亚洲| 在线精品视频一区二区| 日本午夜精品视频在线观看| 国产欧美日韩另类视频免费观看| 91亚洲国产成人精品一区二三 | 另类小说欧美激情| 国产女人aaa级久久久级| 99精品国产热久久91蜜凸| 亚洲h精品动漫在线观看| 日韩欧美一级二级| 成人99免费视频| 午夜欧美一区二区三区在线播放| 欧美大片免费久久精品三p| 波多野结衣视频一区| 日韩福利视频网| 亚洲日本电影在线| 精品区一区二区| 91福利国产成人精品照片| 蜜桃在线一区二区三区| 亚洲欧美日韩电影| 久久亚洲一区二区三区四区| 欧美少妇bbb| 成人精品视频网站| 日韩av电影免费观看高清完整版在线观看| 国产欧美一区二区精品性色超碰| 欧美人牲a欧美精品| 成人爽a毛片一区二区免费| 人禽交欧美网站| 亚洲资源中文字幕| 中文字幕一区二区三区乱码在线 | 欧美亚一区二区| 波多野结衣的一区二区三区| 理论片日本一区| 午夜精品免费在线| 成人免费小视频| 欧美经典三级视频一区二区三区| 911国产精品| 欧美日韩三级一区| 日本韩国精品一区二区在线观看| 国产a区久久久| 国产成人免费在线视频| 国产在线播精品第三| 美腿丝袜亚洲一区| 日韩精品成人一区二区三区 | 欧美久久一区二区| 色av成人天堂桃色av| 99re视频精品| 一本久久综合亚洲鲁鲁五月天| 99久久99久久免费精品蜜臀| 成人性视频免费网站| 国产suv精品一区二区6| 福利电影一区二区| 国产91高潮流白浆在线麻豆| 国产成人在线影院| 成人97人人超碰人人99| 日本韩国一区二区三区| 91国在线观看| 69久久99精品久久久久婷婷| 欧美三级电影一区| 欧美一区二区在线视频| 日韩一区二区三区在线观看 | 91香蕉国产在线观看软件| 色屁屁一区二区| 欧美日韩在线播| 5858s免费视频成人| 日韩精品一区二区三区四区 | 中文字幕第一区二区| 中文字幕 久热精品 视频在线 | 久久福利视频一区二区| 久久er精品视频| 国产传媒一区在线| 波多野结衣精品在线| 99久精品国产| 欧美日韩一区二区三区四区| 欧美一三区三区四区免费在线看| 欧美变态tickle挠乳网站| 久久精品免费在线观看| 亚洲另类春色国产| 午夜欧美一区二区三区在线播放| 久久国产精品99久久久久久老狼| 韩日精品视频一区| 91丨porny丨国产| 91精品久久久久久蜜臀| 国产日韩三级在线| 亚洲自拍偷拍网站| 激情欧美一区二区| 99久久99久久精品免费观看| 欧美肥妇毛茸茸| 亚洲国产高清在线观看视频| 亚洲综合色噜噜狠狠| 国产综合一区二区| 色噜噜狠狠色综合中国| 久久综合九色综合欧美98| 亚洲精选视频免费看| 国产一区二区福利视频| 欧美日韩一区二区不卡|