[Adfconverter-commit] adfconverter-dev/src/uk/ac/ebi/adfconverter/common/tools/net/update/exception
Status: Beta
Brought to you by:
pierreebi
|
From: pierre <pie...@us...> - 2005-08-22 23:24:30
|
Update of /cvsroot/adfconverter/adfconverter-dev/src/uk/ac/ebi/adfconverter/common/tools/net/update/exception In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25998/exception Added Files: UnableToConnectException.java Log Message: Update Internet connection management --- NEW FILE: UnableToConnectException.java --- /* * created on 23 aug. 2005 * * Copyright (c) 2002 The European Bioinformatics Institute. 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 name ArrayExpress must not be used to endorse or promote products * derived from this software without prior written permission. For * written permission, please contact arr...@eb... * * 4. Products derived from this software may not be called "ArrayExpress" * nor may "ArrayExpress" appear in their names without prior written * permission of the ArrayExpress developers. * * 5. Redistributions of any form whatsoever must retain the following * acknowledgment: * "This product includes software developed by ArrayExpress * (http://www.ebi.ac.uk/arrayexpress)" * * THIS SOFTWARE IS PROVIDED BY THE ARRAYEXPRESS GROUP ``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 ARRAYEXPRESS GROUP 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. * *The European Bioinformatics Institute may publish revised and/or new *versions of this license with new releases of ArrayExpress software. * * Created on 23 aug. 2005 * @author <a href="mailto:pie...@us...">Pierre MARGUERITE</a> * @version 1 * @since version 1.0 23 aug. 2005 */ package uk.ac.ebi.adfconverter.common.tools.net.update.exception; /** * Exception raised when the application is unable to connect/ url unavailable * * Created on 23 aug. 2005 * @author <a href="mailto:pie...@us...">Pierre MARGUERITE</a> * @version 1 * @since version 1.0 23 aug. 2005 */ public class UnableToConnectException extends Exception { /** attribut declares to avoid warning in JDK 1.5, used for Serialization*/ private static final long serialVersionUID = 1; /** * */ public UnableToConnectException() { super(); } /** * Specified a message for the exception * @param message messge of the exception */ public UnableToConnectException(String message) { super(message); } /** * Adds throwable cause of the current exception * @param cause cause of the exception */ public UnableToConnectException(Throwable cause) { super(cause); } /** * Adds a message to the exception and associates the throwable cause of the exception * @param message message of the exception * @param cause cause of the exception */ public UnableToConnectException(String message, Throwable cause) { super(message, cause); } } |