Class TransportException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.xxdc.oss.example.transport.TransportException
- All Implemented Interfaces:
Serializable
Represents an exception that occurred during transport-related operations. This exception is a
subclass of
RuntimeException and can be used to indicate transport-related errors that
occur during the execution of the application.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTransportException(String message) Constructs a newTransportExceptionwith the specified detail message.TransportException(String message, Throwable cause) Constructs a newTransportExceptionwith the specified detail message and cause.TransportException(Throwable cause) Constructs a newTransportExceptionwith the specified cause. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TransportException
Constructs a newTransportExceptionwith the specified detail message.- Parameters:
message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method).
-
TransportException
Constructs a newTransportExceptionwith the specified detail message and cause.- Parameters:
message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method).cause- the cause (which is saved for later retrieval by theThrowable.getCause()method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
TransportException
Constructs a newTransportExceptionwith the specified cause.- Parameters:
cause- the cause (which is saved for later retrieval by theThrowable.getCause()method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-