public class TransportException
extends java.io.IOException
TransportException object is thrown when there
is a problem with the transport. Typically this is done thrown if
there is a problem reading or writing to the transport.| Constructor and Description |
|---|
TransportException(java.lang.String message)
Constructor for the
TransportException object. |
TransportException(java.lang.String message,
java.lang.Throwable cause)
Constructor for the
TransportException object. |
public TransportException(java.lang.String message)
TransportException object. If
there is a problem sending or reading from a transport then it
will throw a transport exception to report the error.message - this is the message associated with the errorpublic TransportException(java.lang.String message,
java.lang.Throwable cause)
TransportException object. If
there is a problem sending or reading from a transport then it
will throw a transport exception to report the error.message - this is the message associated with the errorcause - this is the cause of the producer exception