Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

            if ( str == null ) {
                return new byte[0];
            }
            try {
                return str.getBytes(config.getOemEncoding());
            }
            catch ( UnsupportedEncodingException e ) {
                throw new RuntimeCIFSException("Unsupported OEM encoding " + config.getOemEncoding(), e);
            }
        }
    
    
        /**
         * @param src
         * @param srcIndex
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. 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)
  7. src/test/java/jcifs/tests/OplockTests.java

                    create2.chain(new Smb2CloseRequest(sess.getConfig(), Smb2Constants.UNSPECIFIED_FILEID));
    
                    try {
                        tree.send(create2);
                    }
                    catch ( Exception e ) {
                        // timeout is expected for now as we do not ack the break
                        if ( ! ( e.getCause() instanceof RequestTimeoutException ) ) {
                            throw e;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/main/java/jcifs/smb1/smb1/TestLocking.java

                            }
                            in.close();
                        }
                    } catch (IOException ioe) {
                        System.err.println(ioe.getMessage());
    //ioe.printStackTrace(System.err);
                    }
    
                }
            } catch (Exception e) {
                e.printStackTrace();
            } finally {
                numComplete++;
            }
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.4K bytes
    - Viewed (0)
Back to top