Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for catch (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

            try {
                try ( ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token)) ) {
                    sequence = ASN1Util.as(ASN1Sequence.class, stream);
                }
            }
            catch ( IOException e ) {
                throw new PACDecodingException("Malformed kerberos ticket", e);
            }
    
            Enumeration<?> fields = sequence.getObjects();
            while ( fields.hasMoreElements() ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbTree.java

                request.path = '\\' + session.transport().tconHostName + '\\' + share + request.path;
            }
            try {
                session.send( request, response );
            } catch( SmbException se ) {
                if (se.getNtStatus() == se.NT_STATUS_NETWORK_NAME_DELETED) {
                    /* Someone removed the share while we were
                     * connected. Bastards! Disconnect this tree
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

                    this.response.getResumeKey(),
                    this.response.getLastName(),
                    th.getConfig().getListCount(),
                    th.getConfig().getListSize() - FIND_OVERHEAD);
            }
            catch ( SmbException e ) {
                if ( this.response != null && this.response.isReceived() && e.getNtStatus() == NtStatus.NT_STATUS_NO_SUCH_FILE ) {
                    doClose();
                    return null;
                }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/Handler.java

                            } catch (Exception ex) { }
                            if (handlerClass == null) {
                                handlerClass = ClassLoader.getSystemClassLoader(
                                        ).loadClass(className);
                            }
                            handler = (URLStreamHandler) handlerClass.newInstance();
                        } catch (Exception ex) { }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NetServerEnumIterator.java

                throw new SmbException("The requested list operations is invalid: " + locator.getURL());
            }
    
            this.treeHandle = th.acquire();
            try {
                this.next = open();
            }
            catch ( Exception e ) {
                this.treeHandle.release();
                throw e;
            }
    
        }
    
    
        private FileEntry open () throws CIFSException {
            this.treeHandle.send(this.request, this.response);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6K bytes
    - Viewed (0)
Back to top