Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for catch (0.03 sec)

  1. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                        }
    
                        response.notify();
                    }
                }
            }
            catch ( SocketTimeoutException ste ) {
                log.trace("Socket timeout", ste);
            }
            catch ( Exception ex ) {
                log.warn("Uncaught exception in NameServiceClient", ex);
            }
            finally {
                tryClose();
            }
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTreeImpl.java

            this.connectionState.set(2); // connected
    
            try {
                validateNegotiation(transport, sess);
            }
            catch ( CIFSException se ) {
                try {
                    transport.disconnect(true);
                }
                catch ( IOException e ) {
                    log.warn("Failed to disconnect transport", e);
                    se.addSuppressed(e);
                }
                throw se;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/FileAttributesTest.java

                }
                catch ( SmbUnsupportedOperationException e ) {
                    Assume.assumeTrue("No Ntsmbs", false);
                }
                finally {
                    try {
                        f.setAttributes(f.getAttributes() & ~SmbConstants.ATTR_READONLY);
                    }
                    catch ( Exception e ) {
                        // ignore
                    }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/SessionTest.java

        @Test
        public void logonAnonymous () throws IOException {
            try ( SmbResource f = new SmbFile(getTestShareGuestURL(), withAnonymousCredentials()) ) {
                checkConnection(f);
            }
            catch ( SmbAuthException e ) {
                if ( e.getNtStatus() != NtStatus.NT_STATUS_ACCESS_DENIED ) {
                    throw e;
                }
                Assume.assumeNoException(e);
            }
        }
    
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.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/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)
  9. src/main/java/jcifs/smb/SmbSessionImpl.java

                        }
                        return response;
                    }
                    catch ( DfsReferral r ) {
                        if ( log.isDebugEnabled() ) {
                            log.debug("Have referral " + r);
                        }
                        throw r;
                    }
                    catch ( SmbException se ) {
                        if ( log.isTraceEnabled() ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  10. src/main/java/jcifs/context/BaseContext.java

         * @see jcifs.CIFSContext#get(java.lang.String)
         */
        @Override
        public SmbResource get ( String url ) throws CIFSException {
            try {
                return new SmbFile(url, this);
            }
            catch ( MalformedURLException e ) {
                throw new CIFSException("Invalid URL " + url, e);
            }
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 27 18:25:00 UTC 2022
    - 5.3K bytes
    - Viewed (0)
Back to top