Module jcifs

Class TransportException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.codelibs.jcifs.smb1.util.transport.TransportException
All Implemented Interfaces:
Serializable

public class TransportException extends IOException
Exception thrown when transport-level errors occur in JCIFS SMB communication.
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 root cause.
      Parameters:
      rootCause - the root cause of this exception
    • TransportException

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

    • getRootCause

      public Throwable getRootCause()
      Returns the root cause of this exception.
      Returns:
      the root cause or null if none was set
    • toString

      public String toString()
      Overrides:
      toString in class Throwable