java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.codelibs.jcifs.smb.CIFSException
org.codelibs.jcifs.smb.util.transport.TransportException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConnectionTimeoutException,RequestTimeoutException
Exception class for transport layer errors.
This exception is thrown when transport-related communication errors occur.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new TransportException with no detail message.TransportException(String msg) Constructs a new TransportException with the specified detail message.TransportException(String msg, Throwable rootCause) Constructs a new TransportException with the specified detail message and cause.TransportException(Throwable rootCause) Constructs a new TransportException with the specified cause. -
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
public TransportException()Constructs a new TransportException with no detail message. -
TransportException
Constructs a new TransportException with the specified detail message.- Parameters:
msg- the detail message
-
TransportException
Constructs a new TransportException with the specified cause.- Parameters:
rootCause- the cause of this exception
-
TransportException
Constructs a new TransportException with the specified detail message and cause.- Parameters:
msg- the detail messagerootCause- the cause of this exception
-
-
Method Details
-
getRootCause
Deprecated.Gets the root cause of this exception.- Returns:
- root cause of this exception
-