12a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)/* 22a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/ConnectionClosedException.java $ 32a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) * $Revision: 618017 $ 42a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) * $Date: 2008-02-03 08:42:22 -0800 (Sun, 03 Feb 2008) $ 52a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) * 62a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) * ==================================================================== 7c2e0dbddbe15c98d52c4786dac06cb8952a8ae6dTorne (Richard Coles) * Licensed to the Apache Software Foundation (ASF) under one 80f1bc08d4cfcc34181b0b5cbf065c40f687bf740Torne (Richard Coles) * or more contributor license agreements. See the NOTICE file 923730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles) * distributed with this work for additional information 10c2e0dbddbe15c98d52c4786dac06cb8952a8ae6dTorne (Richard Coles) * regarding copyright ownership. The ASF licenses this file 112a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) * to you under the Apache License, Version 2.0 (the 127d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles) * "License"); you may not use this file except in compliance 132a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) * with the License. You may obtain a copy of the License at 147d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles) * 152a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) * http://www.apache.org/licenses/LICENSE-2.0 162a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) * 173551c9c881056c480085172ff9840cab31610854Torne (Richard Coles) * Unless required by applicable law or agreed to in writing, 181e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles) * software distributed under the License is distributed on an 19d0247b1b59f9c528cb6df88b4f2b9afaf80d181eTorne (Richard Coles) * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 202a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) * KIND, either express or implied. See the License for the 217dbb3d5cf0c15f500944d211057644d6a2f37371Ben Murdoch * specific language governing permissions and limitations 2223730a6e56a168d1879203e4b3819bb36e3d8f1fTorne (Richard Coles) * under the License. 230f1bc08d4cfcc34181b0b5cbf065c40f687bf740Torne (Richard Coles) * ==================================================================== 240f1bc08d4cfcc34181b0b5cbf065c40f687bf740Torne (Richard Coles) * 251320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci * This software consists of voluntary contributions made by many 262a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) * individuals on behalf of the Apache Software Foundation. For more 272a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) * information on the Apache Software Foundation, please see 282a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) * <http://www.apache.org/>. 292a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) * 302a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) */ 312a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 322a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)package org.apache.http; 332a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 342a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)import java.io.IOException; 352a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 3690dce4d38c5ff5333bea97d859d4e484e27edf0cTorne (Richard Coles)/** 372a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) * Indicates that a connection has been closed. 382a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) * 392a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) * @author <a href="mailto:oleg at ural.ru">Oleg Kalnichevski</a> 402a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) * 412a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) * @version $Revision: 618017 $ 422a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) * 431320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci * @since 4.0 441320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci * 451320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci * @deprecated Please use {@link java.net.URL#openConnection} instead. 461320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci * Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> 471e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles) * for further details. 481320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci */ 491320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci@Deprecated 501320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tuccipublic class ConnectionClosedException extends IOException { 511320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci 521320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci private static final long serialVersionUID = 617550366255636674L; 531320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci 541320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci /** 551e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles) * Creates a new ConnectionClosedException with the specified detail message. 561e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles) * 571320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci * @param message The exception detail message 581320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci */ 591320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci public ConnectionClosedException(final String message) { 601320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci super(message); 611320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci } 621320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci 631320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci} 641320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci