Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 61 for catch (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            } catch( ConnectException ce ) {
                // Try an alternate port if there was an issue communicating to the server
                // Only set the alternate port to the port property if it was successful
                int altPort = (port == 0 || port == DEFAULT_PORT) ? 139 : DEFAULT_PORT;
                negotiate( altPort, resp );
                port = altPort;
            } catch( NoRouteToHostException nr ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmContext.java

                }
    
                this.isEstablished = true;
                this.state++;
                return out;
            }
            catch ( SmbException e ) {
                throw e;
            }
            catch ( Exception e ) {
                throw new SmbException(e.getMessage(), e);
            }
        }
    
    
        /**
         * @param msg2
         * @return
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            try {
                uni = password.getBytes( SmbConstants.UNI_ENCODING );
            } catch( UnsupportedEncodingException uee ) {
                if( log.level > 0 )
                    uee.printStackTrace( log );
            }
            MD4 md4 = new MD4();
            md4.update( uni );
            try {
                md4.digest(p21, 0, 16);
            } catch (Exception ex) {
                if( log.level > 0 )
                    ex.printStackTrace( log );
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileInputStream.java

                    try ( SmbFileHandle h = ensureOpen() ) {}
                    this.openFlags &= ~ ( SmbConstants.O_CREAT | SmbConstants.O_TRUNC );
                }
    
                init(th);
            }
            catch ( CIFSException e ) {
                throw SmbException.wrap(e);
            }
        }
    
    
        /**
         * @throws SmbException
         * 
         */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/Dfs.java

                    int _klen = _key.length();
                    boolean match = false;
    
                    if (_klen == key.length()) {
                        match = _key.equals(key);
                    } else if (_klen < key.length()) {
                        match = _key.regionMatches(0, key, 0, _klen) && key.charAt(_klen) == '\\';
                    }
    
                    if (match)
                        dr = (DfsReferral)referrals.map.get(_key);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                    this.writeSize = Math.min(th.getConfig().getSendBufferSize() - 70, 0xFFFF - 70);
                }
    
                this.fp = 0L;
            }
            catch ( CIFSException e ) {
                throw SmbException.wrap(e);
            }
        }
    
    
        /**
         * @return
         * @throws SmbException
         */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (1)
Back to top