Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 139 for catch (0.05 sec)

  1. src/test/java/jcifs/tests/ReadWriteTest.java

                        try ( InputStream is = p.getInput() ) {
                            verifyRandom(1024, 1024, is);
                        }
                    }
                }
                catch ( SmbException e ) {
                    if ( e.getNtStatus() == 0xC00000BB ) {
                        Assume.assumeTrue("Server does not support pipes or it does not exist", false);
                    }
                    throw e;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/DfsImpl.java

            if ( log.isTraceEnabled() ) {
                log.trace("No match for domain based root, checking standalone " + domain);
            }
            /*
             * We did not match a domain based root. Now try to match the
             * longest path in the list of stand-alone referrals.
             */
    
            CacheEntry<DfsReferralDataInternal> refs;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/NtlmServlet.java

                    ntlm = new NtlmPasswordAuthentication(domain, user, password);
                }
                try {
                    SmbSession.logon(dc, ntlm);
                } catch (SmbAuthException sae) {
                    response.setHeader("WWW-Authenticate", "NTLM");
                    if (offerBasic) {
                        response.addHeader("WWW-Authenticate", "Basic realm=\"" +
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/Type1Message.java

                pos += writeSecurityBufferContent(type1, pos, domOffOff, domain);
                pos += writeSecurityBufferContent(type1, pos, wsOffOff, workstation);
                return type1;
            }
            catch ( IOException ex ) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
    
        @Override
        public String toString () {
            String suppliedDomainString = getSuppliedDomain();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Sep 02 12:55:08 UTC 2018
    - 7.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/EnumTest.java

                        haveHidden = true;
                    }
                    catch ( SmbUnsupportedOperationException e ) {}
    
                    c.createNewFile();
                    boolean haveArchive = false;
                    try {
                        c.setAttributes(SmbConstants.ATTR_ARCHIVE);
                        haveArchive = true;
                    }
                    catch ( SmbUnsupportedOperationException e ) {}
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SIDCacheImpl.java

                    try ( LsaPolicyHandle policyHandle = new LsaPolicyHandle(handle, "\\\\" + server, 0x00000800) ) {
                        resolveSids(handle, policyHandle, sids);
                    }
                }
                catch ( IOException e ) {
                    throw new CIFSException("Failed to resolve SIDs", e);
                }
            }
        }
    
    
        @Override
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/FileOperationsTest.java

                }
                catch ( SmbUnsupportedOperationException e ) {
                    try ( SmbTreeHandle th = defaultShareRoot.getTreeHandle() ) {
                        Assume.assumeTrue("Not SMB2", th.isSMB2());
                    }
                    throw e;
                }
                catch ( SmbAuthException e )  {
                    // guest share not accessible
                }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:17:59 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

    synchronized (this) {
            try {
                state = 1;
                DcerpcMessage bind = new DcerpcBind(binding, this);
                sendrecv(bind);
            } catch (IOException ioe) {
                state = 0;
                throw ioe;
            }
    }
        }
        public void sendrecv(DcerpcMessage msg) throws DcerpcException, IOException {
            byte[] stub, frag;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SpnegoContext.java

        private static ASN1ObjectIdentifier SPNEGO_MECH_OID;
    
        static {
            try {
                SPNEGO_MECH_OID = new ASN1ObjectIdentifier("1.3.6.1.5.5.2");
            }
            catch ( IllegalArgumentException e ) {
                log.error("Failed to initialize OID", e);
            }
        }
    
        private SSPContext mechContext;
    
        private boolean firstResponse = true;
        private boolean completed;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 14.8K bytes
    - Viewed (0)
Back to top