Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. src/test/java/jcifs/tests/ConcurrencyTest.java

                        }
                        catch ( InterruptedException e ) {
                            log.debug("Interrupted1", e);
                        }
                        log.debug("Closed1");
                        this.completed = true;
                    }
                    finally {
                        f.delete();
                    }
                }
                catch ( Exception e ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 14 17:40:50 UTC 2021
    - 17.6K 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/Config.java

                    in.close();
            } catch( IOException ioe ) {
                if( log.level > 0 )
                    ioe.printStackTrace( log );
            }
    
            if(( level = Config.getInt( "jcifs.smb1.util.loglevel", -1 )) != -1 ) {
                LogStream.setLevel( level );
            }
    
            try {
                "".getBytes(DEFAULT_OEM_ENCODING);
            } catch (UnsupportedEncodingException uee) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                } catch (IOException ex) { }
            }
            int domainLength = domain.length;
            byte[] server = new byte[0];
            try {
                String host = NbtAddress.getLocalHost().getHostName();
                if (host != null) {
                    try {
                        server = host.getBytes(UNI_ENCODING);
                    } catch (IOException ex) { }
                }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.6K 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/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)
  9. 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)
  10. 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)
Back to top