Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 61 for catch (0.04 sec)

  1. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                        }
                    }
                }
            }
            catch ( SmbException e ) {
                throw e;
            }
            catch ( IOException e1 ) {
                log.debug("Ignoring invalid initial token", e1);
            }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/AllTests.java

                    while ( it.hasNext() ) {
                        Path config = it.next();
                        loadConfigFile(config, applyMutations, configs);
                    }
                }
                catch ( IOException e ) {
                    log.error("Failed to load test config directory " + System.getProperty(TestProperties.TEST_CONFIG_DIR), e);
                }
            }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 14.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SID.java

        static {
            try {
                EVERYONE = new SID("S-1-1-0");
                CREATOR_OWNER = new SID("S-1-3-0");
                SYSTEM = new SID("S-1-5-18");
            }
            catch ( SmbException se ) {
                log.error("Failed to create builtin SIDs", se);
            }
        }
    
    
        /**
         * Convert a sid_t to byte array
         * 
         * @param sid
         * @return byte encoded form
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/RandomAccessFileTest.java

                        raf.seek(6);
                        try {
                            raf.readFully(buf);
                            Assert.fail("Should have thrown exception");
                        }
                        catch ( SmbEndOfFileException e ) {}
                    }
    
                }
                finally {
                    f.delete();
                }
            }
        }
    
    
        @Test
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                    null);
            String defaultWorkstation = null;
            try {
                defaultWorkstation = NbtAddress.getLocalHost().getHostName();
            } catch (UnknownHostException ex) { }
            DEFAULT_WORKSTATION = defaultWorkstation;
            LM_COMPATIBILITY = Config.getInt("jcifs.smb1.smb.lmCompatibility", 3);
        }
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbSession.java

                            request.auth = auth;
        
                            try {
                                transport.send( request, response );
                            } catch (SmbAuthException sae) {
                                throw sae;
                            } catch (SmbException se) {
                                ex = se;
                            }
        
                            if( response.isLoggedInAsGuest &&
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/TimeoutTest.java

                throws ConnectionTimeoutException, CIFSException {
            try {
                f.createNewFile();
                assertTrue("Did not see error", false);
            }
            catch ( SmbException e ) {
                if ( e.getCause() instanceof ConnectionTimeoutException ) {
                    long timeout = System.currentTimeMillis() - start;
                    assertTrue(
                        String.format(
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NbtAddress.java

                         * have a real NetBIOS name
                         */
                        this.calledName = null;
                        return getHostName();
                    }
                }
                catch ( UnknownHostException uhe ) {
                    this.calledName = null;
                }
            }
            else {
                this.calledName = null;
            }
    
            return this.calledName;
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

                    System.arraycopy( b, 0, dst, dstIndex, b.length );
                    dstIndex += b.length;
                    dst[dstIndex++] = (byte)'\0';
                }
            } catch( UnsupportedEncodingException uee ) {
                if( log.level > 1 )
                    uee.printStackTrace( log );
            }
    
            return dstIndex - start;
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFileOutputStream.java

                        treq.setFileInformation(new FileEndOfFileInformation(0));
                        th.send(treq, RequestParam.NO_RETRY);
                    }
                }
            }
            catch ( CIFSException e ) {
                throw SmbException.wrap(e);
            }
        }
    
    
        SmbFileOutputStream ( SmbFile file, SmbTreeHandleImpl th, SmbFileHandleImpl handle, int openFlags, int access, int sharing )
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Nov 13 15:14:04 UTC 2021
    - 11.9K bytes
    - Viewed (0)
Back to top