Module jcifs

Class TransportException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConnectionTimeoutException, RequestTimeoutException

public class TransportException extends CIFSException
Exception class for transport layer errors. This exception is thrown when transport-related communication errors occur.
See Also:
  • Constructor Details

    • TransportException

      public TransportException()
      Constructs a new TransportException with no detail message.
    • TransportException

      public TransportException(String msg)
      Constructs a new TransportException with the specified detail message.
      Parameters:
      msg - the detail message
    • TransportException

      public TransportException(Throwable rootCause)
      Constructs a new TransportException with the specified cause.
      Parameters:
      rootCause - the cause of this exception
    • TransportException

      public TransportException(String msg, Throwable rootCause)
      Constructs a new TransportException with the specified detail message and cause.
      Parameters:
      msg - the detail message
      rootCause - the cause of this exception
  • Method Details

    • getRootCause

      @Deprecated public Throwable getRootCause()
      Deprecated.
      Gets the root cause of this exception.
      Returns:
      root cause of this exception