Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                handshake();
            } catch (IOException ex) { }
            return connection.getContentEncoding();
        }
    
        public long getExpiration() {
            try {
                handshake();
            } catch (IOException ex) { }
            return connection.getExpiration();
        }
    
        public long getDate() {
            try {
                handshake();
            } catch (IOException ex) { }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  2. 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)
  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/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)
  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/smb/SmbTreeConnection.java

            try {
                return connect(loc);
            }
            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: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  7. 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)
  8. src/main/java/jcifs/smb/SmbCopyUtil.java

                try {
                    serverSideCopy(src, dest, sh, dh, false);
                    return;
                }
                catch ( SmbUnsupportedOperationException e ) {
                    log.debug("Server side copy not supported, falling back to normal copying", e);
                }
                catch ( CIFSException e ) {
                    log.warn("Server side copy failed", e);
                    throw SmbException.wrap(e);
                }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 17.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top