Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for TransportException (0.34 sec)

  1. src/main/java/jcifs/util/transport/TransportException.java

    import jcifs.CIFSException;
    
    
    /**
     *
     */
    public class TransportException extends CIFSException {
    
        /**
         * 
         */
        private static final long serialVersionUID = 3743631204022885618L;
    
    
        /**
         * 
         */
        public TransportException () {}
    
    
        /**
         * 
         * @param msg
         */
        public TransportException ( String msg ) {
            super(msg);
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/transport/TransportException.java

    import java.io.StringWriter;
    
    public class TransportException extends IOException {
    
        private Throwable rootCause;
    
        public TransportException() {
        }
        public TransportException( String msg ) {
            super( msg );
        }
        public TransportException( Throwable rootCause ) {
            this.rootCause = rootCause;
        }
        public TransportException( String msg, Throwable rootCause ) {
            super( msg );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 958 bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/transport/Transport.java

        public synchronized void connect( long timeout ) throws TransportException {
            try {
                switch (state) {
                    case 0:
                        break;
                    case 3:
                        return; // already connected
                    case 4:
                        state = 0;
                        throw new TransportException( "Connection in error", te );
                    default:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/transport/Transport.java

                case 4:
                    this.state = 6;
                    throw new TransportException("Connection in error", this.te);
                case 5:
                case 6:
                    log.debug("Trying to connect a disconnected transport");
                    return false;
                default:
                    TransportException tex = new TransportException("Invalid state: " + st);
                    throw tex;
                }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

        }
    
        protected IOException seToIoe(SmbException se) {
            IOException ioe = se;
            Throwable root = se.getRootCause();
            if (root instanceof TransportException) {
                ioe = (TransportException)root;
                root = ((TransportException)ioe).getRootCause();
            }
            if (root instanceof InterruptedException) {
                ioe = new InterruptedIOException(root.getMessage());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/transport/ConnectionTimeoutException.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.util.transport;
    
    
    /**
     * @author mbechler
     *
     */
    public class ConnectionTimeoutException extends TransportException {
    
        /**
         * 
         */
        private static final long serialVersionUID = 7327198103204592731L;
    
    
        /**
         * 
         */
        public ConnectionTimeoutException () {}
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

    import jcifs.Address;
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.SmbConstants;
    import jcifs.SmbTransport;
    import jcifs.SmbTransportPool;
    import jcifs.util.transport.TransportException;
    
    
    /**
     * @author mbechler
     * @internal
     */
    public class SmbTransportPoolImpl implements SmbTransportPool {
    
        private static final Logger log = LoggerFactory.getLogger(SmbTransportPoolImpl.class);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileInputStream.java

    
        protected static IOException seToIoe ( SmbException se ) {
            IOException ioe = se;
            Throwable root = se.getCause();
            if ( root instanceof TransportException ) {
                ioe = (TransportException) root;
                root = ( (TransportException) ioe ).getCause();
            }
            if ( root instanceof InterruptedException ) {
                ioe = new InterruptedIOException(root.getMessage());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeConnection.java

    import jcifs.internal.smb1.com.SmbComClose;
    import jcifs.internal.smb1.com.SmbComFindClose2;
    import jcifs.internal.smb1.trans.nt.NtTransQuerySecurityDesc;
    import jcifs.util.transport.TransportException;
    
    
    /**
     * This class encapsulates the logic for switching tree connections
     * 
     * Switching trees can occur either when the tree has been disconnected by failure or idle-timeout - as well as on
     * DFS referrals.
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/transport/RequestTimeoutException.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.util.transport;
    
    
    /**
     * @author mbechler
     *
     */
    public class RequestTimeoutException extends TransportException {
    
        /**
         * 
         */
        private static final long serialVersionUID = -8825922797594232534L;
    
    
        /**
         * 
         */
        public RequestTimeoutException () {
            super();
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.5K bytes
    - Viewed (0)
Back to top