1baa3858d3f5d128a5c8466b700098109edcad5f2repo sync/*
2baa3858d3f5d128a5c8466b700098109edcad5f2repo sync * $HeadURL:https://svn.apache.org/repos/asf/jakarta/httpcomponents/trunk/coyote-httpconnector/src/java/org/apache/http/tcconnector/UnsupportedHttpVersionException.java $
3baa3858d3f5d128a5c8466b700098109edcad5f2repo sync * $Revision:379772 $
4baa3858d3f5d128a5c8466b700098109edcad5f2repo sync * $Date:2006-02-22 14:52:29 +0100 (Wed, 22 Feb 2006) $
5baa3858d3f5d128a5c8466b700098109edcad5f2repo sync *
6baa3858d3f5d128a5c8466b700098109edcad5f2repo sync * ====================================================================
7baa3858d3f5d128a5c8466b700098109edcad5f2repo sync * Licensed to the Apache Software Foundation (ASF) under one
8baa3858d3f5d128a5c8466b700098109edcad5f2repo sync * or more contributor license agreements.  See the NOTICE file
9baa3858d3f5d128a5c8466b700098109edcad5f2repo sync * distributed with this work for additional information
10baa3858d3f5d128a5c8466b700098109edcad5f2repo sync * regarding copyright ownership.  The ASF licenses this file
11baa3858d3f5d128a5c8466b700098109edcad5f2repo sync * to you under the Apache License, Version 2.0 (the
12baa3858d3f5d128a5c8466b700098109edcad5f2repo sync * "License"); you may not use this file except in compliance
13baa3858d3f5d128a5c8466b700098109edcad5f2repo sync * with the License.  You may obtain a copy of the License at
14baa3858d3f5d128a5c8466b700098109edcad5f2repo sync *
15baa3858d3f5d128a5c8466b700098109edcad5f2repo sync *   http://www.apache.org/licenses/LICENSE-2.0
16baa3858d3f5d128a5c8466b700098109edcad5f2repo sync *
17baa3858d3f5d128a5c8466b700098109edcad5f2repo sync * Unless required by applicable law or agreed to in writing,
18baa3858d3f5d128a5c8466b700098109edcad5f2repo sync * software distributed under the License is distributed on an
19baa3858d3f5d128a5c8466b700098109edcad5f2repo sync * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
20baa3858d3f5d128a5c8466b700098109edcad5f2repo sync * KIND, either express or implied.  See the License for the
21baa3858d3f5d128a5c8466b700098109edcad5f2repo sync * specific language governing permissions and limitations
22baa3858d3f5d128a5c8466b700098109edcad5f2repo sync * under the License.
23baa3858d3f5d128a5c8466b700098109edcad5f2repo sync * ====================================================================
24baa3858d3f5d128a5c8466b700098109edcad5f2repo sync *
25baa3858d3f5d128a5c8466b700098109edcad5f2repo sync * This software consists of voluntary contributions made by many
26baa3858d3f5d128a5c8466b700098109edcad5f2repo sync * individuals on behalf of the Apache Software Foundation.  For more
27baa3858d3f5d128a5c8466b700098109edcad5f2repo sync * information on the Apache Software Foundation, please see
28baa3858d3f5d128a5c8466b700098109edcad5f2repo sync * <http://www.apache.org/>.
29baa3858d3f5d128a5c8466b700098109edcad5f2repo sync *
30baa3858d3f5d128a5c8466b700098109edcad5f2repo sync */
31baa3858d3f5d128a5c8466b700098109edcad5f2repo sync
32baa3858d3f5d128a5c8466b700098109edcad5f2repo syncpackage org.apache.http;
33baa3858d3f5d128a5c8466b700098109edcad5f2repo sync
34baa3858d3f5d128a5c8466b700098109edcad5f2repo syncimport org.apache.http.ProtocolException;
35baa3858d3f5d128a5c8466b700098109edcad5f2repo sync
36baa3858d3f5d128a5c8466b700098109edcad5f2repo sync/**
37baa3858d3f5d128a5c8466b700098109edcad5f2repo sync * Indicates an unsupported version of the HTTP protocol.
38baa3858d3f5d128a5c8466b700098109edcad5f2repo sync *
39baa3858d3f5d128a5c8466b700098109edcad5f2repo sync * @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a>
40baa3858d3f5d128a5c8466b700098109edcad5f2repo sync *
41baa3858d3f5d128a5c8466b700098109edcad5f2repo sync * @version $Revision:379772 $
42baa3858d3f5d128a5c8466b700098109edcad5f2repo sync *
43baa3858d3f5d128a5c8466b700098109edcad5f2repo sync * @deprecated Please use {@link java.net.URL#openConnection} instead.
44baa3858d3f5d128a5c8466b700098109edcad5f2repo sync *     Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a>
45baa3858d3f5d128a5c8466b700098109edcad5f2repo sync *     for further details.
46baa3858d3f5d128a5c8466b700098109edcad5f2repo sync */
47baa3858d3f5d128a5c8466b700098109edcad5f2repo sync@Deprecated
48baa3858d3f5d128a5c8466b700098109edcad5f2repo syncpublic class UnsupportedHttpVersionException extends ProtocolException {
49baa3858d3f5d128a5c8466b700098109edcad5f2repo sync
50baa3858d3f5d128a5c8466b700098109edcad5f2repo sync    private static final long serialVersionUID = -1348448090193107031L;
51baa3858d3f5d128a5c8466b700098109edcad5f2repo sync
52baa3858d3f5d128a5c8466b700098109edcad5f2repo sync
53baa3858d3f5d128a5c8466b700098109edcad5f2repo sync    /**
54baa3858d3f5d128a5c8466b700098109edcad5f2repo sync     * Creates an exception without a detail message.
55baa3858d3f5d128a5c8466b700098109edcad5f2repo sync     */
56baa3858d3f5d128a5c8466b700098109edcad5f2repo sync    public UnsupportedHttpVersionException() {
57baa3858d3f5d128a5c8466b700098109edcad5f2repo sync        super();
58baa3858d3f5d128a5c8466b700098109edcad5f2repo sync    }
59baa3858d3f5d128a5c8466b700098109edcad5f2repo sync
60baa3858d3f5d128a5c8466b700098109edcad5f2repo sync    /**
61baa3858d3f5d128a5c8466b700098109edcad5f2repo sync     * Creates an exception with the specified detail message.
62baa3858d3f5d128a5c8466b700098109edcad5f2repo sync     *
63baa3858d3f5d128a5c8466b700098109edcad5f2repo sync     * @param message The exception detail message
64baa3858d3f5d128a5c8466b700098109edcad5f2repo sync     */
65baa3858d3f5d128a5c8466b700098109edcad5f2repo sync    public UnsupportedHttpVersionException(final String message) {
66baa3858d3f5d128a5c8466b700098109edcad5f2repo sync        super(message);
67baa3858d3f5d128a5c8466b700098109edcad5f2repo sync    }
68baa3858d3f5d128a5c8466b700098109edcad5f2repo sync
69baa3858d3f5d128a5c8466b700098109edcad5f2repo sync}
70baa3858d3f5d128a5c8466b700098109edcad5f2repo sync