public class TransportException extends 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(String message)
Constructor for the
TransportException object. |
TransportException(String message,
Throwable cause)
Constructor for the
TransportException object. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TransportException(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(String message, 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 exceptionCopyright © 2025. All rights reserved.