All Downloads are FREE. Search and download functionalities are using the official Maven repository.

at.spardat.xma.boot.transport.ConnectException Maven / Gradle / Ivy

/*******************************************************************************
 * Copyright (c) 2003, 2007 s IT Solutions AT Spardat GmbH .
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     s IT Solutions AT Spardat GmbH - initial API and implementation
 *******************************************************************************/

/*
 * Created on 16.05.2003
 */
package at.spardat.xma.boot.transport;


/**
 * Thrown by Transport, if anything goes wrong in the communication with the server, before
 * the server changed its state.
 *
 * @author s2877
 * @version $Id: ConnectException.java 2084 2007-11-27 14:53:31Z s3460 $
 */
public class ConnectException extends CommunicationException {

    /**
     * Constructs an ConnectException with the specified detail
     * Exception. The message of the detail exception is used as message of the
     * ConnectException.
     *
     * @param exc the detail exception.
     */
    public ConnectException(Exception exc) {
        super(exc);
    }

    /**
     * Constructs an ConnectException with the specified mesage and detail
     * Exception.
     *
     * @param   message the detail message.
     * @param exc the detail exception.
     */
    public ConnectException(String message,Exception exc) {
        super(message,exc);
    }

    /**
     * Constructs an ConnectException with the specified detail
     * Exception and Http-Returncode. The message of the ConnectException
     * is composed of the message of the detail exception and the returncode.
     *
     * @param exc the detail exception
     * @param returnCode the HTTP-Returncode send by the server
     */
    public ConnectException(Exception exc,int returnCode) {
        super(exc,returnCode);
    }

    /**
     * Constructs an ConnectException with the specified detail
     * message.
     *
     * @param   message the detail message.
     */
    public ConnectException(String message) {
        super(message);
    }

    /**
     * Constructs an ConnectException with the specified detail
     * message and Http-Returncode. The message of the ConnectException
     * is composed of the detail message and the returncode.
     *
     * @param message the detail message
     * @param returnCode the HTTP-Returncode send by the server
     */
    public ConnectException(String message,int returnCode) {
        super(message,returnCode);
    }

    /**
     * Constructs an ConnectException with the specified message, detail
     * Exception and Http-Returncode. The message of the ConnectException
     * is composed of the detail message and the returncode.
     *
     * @param message the detail message
     * @param exc the detail exception
     * @param returnCode the HTTP-Returncode send by the server
     */
    public ConnectException(String message,Exception exc,int returnCode) {
        super(message,exc,returnCode);
    }

    /**
     * Constructs an ConnectException with the specified Http-Returncode.
     * The message of the ConnectException
     * is composed of the returncode.
     *
     * @param returnCode the HTTP-Returncode send by the server
     */
    public ConnectException(int returnCode) {
        super(returnCode);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy