Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for catch (0.16 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) { }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 20.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/transport/Transport.java

            }
            catch ( IOException ioe ) {
                log.warn("sendrecv failed", ioe);
                try {
                    disconnect(true);
                }
                catch ( IOException ioe2 ) {
                    ioe.addSuppressed(ioe2);
                    log.info("disconnect failed", ioe2);
                }
                throw ioe;
            }
            catch ( InterruptedException ie ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            try {
                uni = password.getBytes( SmbConstants.UNI_ENCODING );
            } catch( UnsupportedEncodingException uee ) {
                if( log.level > 0 )
                    uee.printStackTrace( log );
            }
            MD4 md4 = new MD4();
            md4.update( uni );
            try {
                md4.digest(p21, 0, 16);
            } catch (Exception ex) {
                if( log.level > 0 )
                    ex.printStackTrace( log );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

                stream.close();
            }
            catch ( IOException e ) {
                throw new PACDecodingException("Malformed kerberos ticket", e);
            }
    
            ASN1Sequence sequence;
            try {
                sequence = ASN1Util.as(ASN1Sequence.class, derToken.getBaseObject());
            }
            catch ( IOException e ) {
                throw new PACDecodingException("Malformed kerberos ticket", e);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  5. 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;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  6. 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
                    }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  7. 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 &&
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  8. 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
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                        set.add(e);
                    }
                }
    
            }
            catch ( SmbException e ) {
                throw e;
            }
            catch ( IOException ioe ) {
                log.debug("doNetShareEnum failed", ioe);
                throw new SmbException(u.toString(), ioe);
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:41:19 GMT 2019
    - 12.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmHttpFilter.java

                        ssn.treeConnectLogon();
                    }
                }
                return new NtlmChallenge(trans.getServerEncryptionKey(), dc);
            }
            catch ( SmbException e ) {
                throw e;
            }
            catch ( IOException e ) {
                throw new SmbException("Connection failed", e);
            }
        }
    
    
        /**
         * @return
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.8K bytes
    - Viewed (0)
Back to top