Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 139 for catch (0.08 sec)

  1. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                    try {
                        trans.ensureConnected();
                    }
                    catch ( IOException e ) {
                        removeTransport(trans);
                        throw e;
                    }
                    return trans.acquire();
                }
                catch ( IOException e ) {
                    String hostAddress = addr.getHostAddress();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/Lmhosts.java

                    }
                    result = (NbtAddress)TAB.get( name );
                }
            } catch( FileNotFoundException fnfe ) {
                if( log.level > 1 ) {
                    log.println( "lmhosts file: " + FILENAME );
                    fnfe.printStackTrace( log );
                }
            } catch( IOException ioe ) {
                if( log.level > 0 )
                    ioe.printStackTrace( log );
            }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/transport/Transport.java

                        }
                    }
                } catch( IOException ioe ) {
                    if (log.level > 2)
                        ioe.printStackTrace( log );
                    try {
                        disconnect( true );
                    } catch( IOException ioe2 ) {
                        ioe2.printStackTrace( log );
                    }
                    throw ioe;
                } catch( InterruptedException ie ) {
    Registered: Wed Jun 12 15:45:55 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

            }
            catch ( IOException ioe ) {
                log.warn("sendrecv failed", ioe);
                try {
                    disconnect(true);
                }
                catch ( IOException ioe2 ) {
                    ioe.addSuppressed(ioe2);
                    log.info("disconnect failed", ioe2);
                }
                throw ioe;
            }
            catch ( InterruptedException ie ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                            Hexdump.hexdump( log, rcv_buf, 0, in.getLength() );
                        }
    
                        response.notify();
                    }
                }
            } catch(SocketTimeoutException ste) {
            } catch( Exception ex ) {
                if( log.level > 2 )
                    ex.printStackTrace( log );
            } finally {
                tryClose();
            }
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 17.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/KerberosTest.java

                try ( SmbResource r = f.resolve("test") ) {
                    r.exists();
                }
            }
            catch ( SmbUnsupportedOperationException e ) {
                Assume.assumeTrue("Using short names", false);
            }
            catch ( SmbException e ) {
                if ( ! ( e.getCause() instanceof GSSException ) ) {
                    throw e;
                }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/WatchTest.java

            try ( SmbWatchHandle w = this.base.watch(FileNotifyInformation.FILE_NOTIFY_CHANGE_FILE_NAME, false) ) {
                setupWatch(w);
                try ( SmbResource cr = new SmbFile(this.base, "created") ) {
                    cr.createNewFile();
                    assertNotified(w, FileNotifyInformation.FILE_ACTION_ADDED, "created", null);
                }
            }
            catch ( TimeoutException e ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

                    doClose();
                    return n;
                }
                this.next = ne;
            }
            catch ( CIFSException e ) {
                log.warn("Enumeration failed", e);
                this.next = null;
                try {
                    doClose();
                }
                catch ( CIFSException e1 ) {
                    log.debug("Failed to close enum", e);
                }
            }
            return n;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SigningDigest.java

        private int updates;
        private int signSequence;
    
        public SigningDigest(byte[] macSigningKey, boolean bypass) throws SmbException {
            try {
                digest = MessageDigest.getInstance("MD5");
            } catch (NoSuchAlgorithmException ex) {
                if( log.level > 0 )
                    ex.printStackTrace( log );
                throw new SmbException( "MD5", ex );
            }
    
            this.macSigningKey = macSigningKey;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/Kerb5Context.java

            }
            catch ( GSSException e ) {
                log.debug("Failed to get info", e);
                return super.toString();
            }
        }
    
    
        @Override
        public void dispose () throws SmbException {
            if ( this.gssContext != null ) {
                try {
                    this.gssContext.dispose();
                }
                catch ( GSSException e ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Aug 02 08:22:42 UTC 2018
    - 13.9K bytes
    - Viewed (0)
Back to top