Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
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(s):
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.

Parameters:
exc the detail exception.
 
     public ConnectException(Exception exc) {
         super(exc);
     }

    
Constructs an ConnectException with the specified mesage and detail Exception.

Parameters:
message the detail message.
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.

Parameters:
exc the detail exception
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.

Parameters:
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.

Parameters:
message the detail message
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.

Parameters:
message the detail message
exc the detail exception
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.

Parameters:
returnCode the HTTP-Returncode send by the server
    public ConnectException(int returnCode) {
        super(returnCode);
    }
New to GrepCode? Check out our FAQ X