Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 139 for catch (0.04 sec)

  1. src/main/java/jcifs/ntlmssp/Type2Message.java

            byte[] domain = new byte[0];
            if ( domainStr != null ) {
                try {
                    domain = domainStr.getBytes(UNI_ENCODING);
                }
                catch ( IOException ex ) {
                    log.debug("Failed to get domain bytes", ex);
                }
            }
            int domainLength = domain.length;
            byte[] server = new byte[0];
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NbtSocket.java

                out.write( buffer, 0, ssp0.writeWireFormat( buffer, 0 ));
    
                setSoTimeout( soTimeout );
                type = ssp0.readPacketType( in, buffer, 0 );
            } catch( IOException ioe ) {
                close();
                throw ioe;
            }
    
            switch( type ) {
                case SessionServicePacket.POSITIVE_SESSION_RESPONSE:
                    if( log.level > 2 )
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

                                                isActive,
                                                isPermanent,
                                                macAddress );
                    }
                }
            } catch( UnsupportedEncodingException uee ) {
            }
            return srcIndex - start;
        }
        public String toString() {
            return new String( "NodeStatusResponse[" +
                super.toString() + "]" );
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/context/AbstractCIFSContext.java

         * {@inheritDoc}
         *
         * @see java.lang.Thread#run()
         */
        @Override
        public void run () {
            try {
                this.closed = true;
                close();
            }
            catch ( CIFSException e ) {
                log.warn("Failed to close context on shutdown", e);
            }
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 3.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/PacMac.java

                    return calculateMacHMACAES(usage, key, data);
                }
                else {
                    throw new PACDecodingException("Invalid MAC algorithm");
                }
            }
            catch ( GeneralSecurityException e ) {
                throw new PACDecodingException("Failed to calculate MAC", e);
            }
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
  7. 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)
  8. src/main/java/jcifs/pac/kerberos/KerberosToken.java

            byte[] content;
            try ( ASN1InputStream stream = new ASN1InputStream(token) ) {
                content = ASN1Util.readUnparsedTagged(0, 0x8000, stream);
            }catch ( IOException e ) {
                throw new PACDecodingException("Malformed kerberos token", e);
            }
    
            try ( ASN1InputStream stream = new ASN1InputStream(content) ) {
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                try {
                    if( dirents[i].getType() == SmbFile.TYPE_NAMED_PIPE ) {
                        continue;
                    }
                } catch( SmbAuthException sae ) {
                    if( log.level > 2 )
                        sae.printStackTrace( log );
                } catch( SmbException se ) {
                    if( log.level > 2 )
                        se.printStackTrace( log );
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
  10. 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)
Back to top