Package org.simpleframework.transport
Class TransportException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.simpleframework.transport.TransportException
- All Implemented Interfaces:
Serializable
The
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.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTransportException
(String message) Constructor for theTransportException
object.TransportException
(String message, Throwable cause) Constructor for theTransportException
object. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TransportException
Constructor for theTransportException
object. If there is a problem sending or reading from a transport then it will throw a transport exception to report the error.- Parameters:
message
- this is the message associated with the error
-
TransportException
Constructor for theTransportException
object. If there is a problem sending or reading from a transport then it will throw a transport exception to report the error.- Parameters:
message
- this is the message associated with the errorcause
- this is the cause of the producer exception
-