Class TransportException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.xxdc.oss.example.transport.TransportException
All Implemented Interfaces:
Serializable

public class TransportException extends RuntimeException
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 Details

    • TransportException

      public TransportException(String message)
      Constructs a new TransportException with the specified detail message.
      Parameters:
      message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
    • TransportException

      public TransportException(String message, Throwable cause)
      Constructs a new TransportException with the specified detail message and cause.
      Parameters:
      message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method).
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
    • TransportException

      public TransportException(Throwable cause)
      Constructs a new TransportException with the specified cause.
      Parameters:
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)