FileDocCategorySizeDatePackage
TransportException.javaAPI DocJCIFS 1.3.17 API991Tue Oct 18 15:26:24 BST 2011jcifs.util.transport

TransportException

public class TransportException extends IOException

Fields Summary
private Throwable
rootCause
Constructors Summary
public TransportException()

    
public TransportException(String msg)

        super( msg );
    
public TransportException(Throwable rootCause)

        this.rootCause = rootCause;
    
public TransportException(String msg, Throwable rootCause)

        super( msg );
        this.rootCause = rootCause;
    
Methods Summary
public java.lang.ThrowablegetRootCause()

        return rootCause;
    
public java.lang.StringtoString()

        if( rootCause != null ) {
            StringWriter sw = new StringWriter();
            PrintWriter pw = new PrintWriter( sw );
            rootCause.printStackTrace( pw );
            return super.toString() + "\n" + sw;
        } else {
            return super.toString();
        }