at.spardat.xma.boot.transport
Class ConnectException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byat.spardat.xma.boot.transport.CommunicationException
                  extended byat.spardat.xma.boot.transport.ConnectException
All Implemented Interfaces:
java.io.Serializable

public class ConnectException
extends CommunicationException

Thrown by Transport, if anything goes wrong in the communication with the server, before the server changed its state.

See Also:
Serialized Form

Constructor Summary
ConnectException(java.lang.Exception exc)
          Constructs an ConnectException with the specified detail Exception.
ConnectException(java.lang.Exception exc, int returnCode)
          Constructs an ConnectException with the specified detail Exception and Http-Returncode.
ConnectException(int returnCode)
          Constructs an ConnectException with the specified Http-Returncode.
ConnectException(java.lang.String message)
          Constructs an ConnectException with the specified detail message.
ConnectException(java.lang.String message, java.lang.Exception exc)
          Constructs an ConnectException with the specified mesage and detail Exception.
ConnectException(java.lang.String message, java.lang.Exception exc, int returnCode)
          Constructs an ConnectException with the specified message, detail Exception and Http-Returncode.
ConnectException(java.lang.String message, int returnCode)
          Constructs an ConnectException with the specified detail message and Http-Returncode.
 
Methods inherited from class at.spardat.xma.boot.transport.CommunicationException
getReturnCode, setReturnCode
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectException

public ConnectException(java.lang.Exception exc)
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.

ConnectException

public ConnectException(java.lang.String message,
                        java.lang.Exception exc)
Constructs an ConnectException with the specified mesage and detail Exception.

Parameters:
message - the detail message.
exc - the detail exception.

ConnectException

public ConnectException(java.lang.Exception exc,
                        int returnCode)
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

ConnectException

public ConnectException(java.lang.String message)
Constructs an ConnectException with the specified detail message.

Parameters:
message - the detail message.

ConnectException

public ConnectException(java.lang.String message,
                        int returnCode)
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

ConnectException

public ConnectException(java.lang.String message,
                        java.lang.Exception exc,
                        int 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

ConnectException

public ConnectException(int 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