All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class tascomm.dts.CommunicationException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----tascomm.dts.DTSException
                           |
                           +----tascomm.dts.CommunicationException

public class CommunicationException
extends DTSException
Signals that an exception has occurred during the network communication phase of the DTS transaction. The conversation with the remote DTS server has either failed to start or has been interrupted by some unexpected event.

Version:
1.01, 97/10/30
Author:
Juha Lehtovirta
See Also:
DTSException, DTSMessage

Method Index

 o getIOMessage()
Returns the original IO failure description as provided by the IOException.
 o getPhase()
Returns the name of the communication phase where the exception occurred.

Methods

 o getPhase
 public String getPhase()
Returns the name of the communication phase where the exception occurred. The following symbolic names are supported:

CONNECT
A failure to set up the DTS network link
WRITE
A failure to send data to remote host
READ
A failure to receive data from remote host
CLOSE
A failure to properly flush and close the link
ROUTING
A communication failure at a remote (routing) server

To get the complete communication failure message, including supplemental IO failure description, use getMessage which is defined in the parent class DTSException.

Returns:
the communication phase name of this CommunicationException.
 o getIOMessage
 public String getIOMessage()
Returns the original IO failure description as provided by the IOException. In case of a communication failure detected on an intermediate routing server, this is the original DTS error reply returned.

To get the complete communication failure message, including the communication phase were the problem occurred, use getMessage which is defined in the parent class DTSException.

Returns:
the IO failure message of this CommunicationException.

All Packages  Class Hierarchy  This Package  Previous  Next  Index