Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for catch (0.04 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/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)
  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/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)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

        }
        void connect0() throws SmbException {
            try {
                connect();
            } catch( UnknownHostException uhe ) {
                throw new SmbException( "Failed to connect to server", uhe );
            } catch( SmbException se ) {
                throw se;
            } catch( IOException ioe ) {
                throw new SmbException( "Failed to connect to server", ioe );
            }
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top