at.spardat.xma.boot.transport
Class ServerException

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.ServerException
All Implemented Interfaces:
java.io.Serializable

public class ServerException
extends CommunicationException

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

See Also:
Serialized Form

Constructor Summary
ServerException(java.lang.Exception exc)
          Constructs an ServerException with the specified detail Exception.
ServerException(java.lang.Exception exc, int returnCode)
          Constructs an ServerException with the specified detail Exception and Http-Returncode.
ServerException(int returnCode)
          Constructs an ServerException with the specified Http-Returncode.
ServerException(java.lang.String message)
          Constructs an ServerException with the specified detail message.
ServerException(java.lang.String message, java.lang.Exception exc)
          Constructs an ServerException with the specified mesage and detail Exception.
ServerException(java.lang.String message, java.lang.Exception exc, int returnCode)
          Constructs an ServerException with the specified message, detail Exception and Http-Returncode.
ServerException(java.lang.String message, int returnCode)
          Constructs an ServerException 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

ServerException

public ServerException(java.lang.Exception exc)
Constructs an ServerException with the specified detail Exception. The message of the detail exception is used as message of the ServerException.

Parameters:
exc - the detail exception.

ServerException

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

Parameters:
message - the detail message.

ServerException

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

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

ServerException

public ServerException(java.lang.Exception exc,
                       int returnCode)
Constructs an ServerException with the specified detail Exception and Http-Returncode. The message of the ServerException 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

ServerException

public ServerException(java.lang.String message,
                       int returnCode)
Constructs an ServerException with the specified detail message and Http-Returncode. The message of the ServerException is composed of the detail message and the returncode.

Parameters:
message - the detail message
returnCode - the HTTP-Returncode send by the server

ServerException

public ServerException(java.lang.String message,
                       java.lang.Exception exc,
                       int returnCode)
Constructs an ServerException with the specified message, detail Exception and Http-Returncode. The message of the ServerException 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

ServerException

public ServerException(int returnCode)
Constructs an ServerException with the specified Http-Returncode. The message of the ServerException is composed of the returncode.

Parameters:
returnCode - the HTTP-Returncode send by the server