Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 139 for catch (0.07 sec)

  1. 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)
  2. src/main/java/jcifs/http/NtlmHttpURLConnection.java

        }
    
    
        /**
         * 
         */
        private final void copySettings () {
            try {
                this.setRequestMethod(this.connection.getRequestMethod());
            }
            catch ( ProtocolException e ) {
                throw new RuntimeCIFSException("Failed to set request method", e);
            }
            this.headerFields = null;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/NetServerEnum2.java

            int start = dstIndex;
            byte[] descr;
            int which = subCommand == NET_SERVER_ENUM2 ? 0 : 1;
    
            try {
                descr = DESCR[which].getBytes( "ASCII" );
            } catch( UnsupportedEncodingException uee ) {
                return 0;
            }
    
            writeInt2( subCommand & 0xFF, dst, dstIndex );
            dstIndex += 2;
            System.arraycopy( descr, 0, dst, dstIndex, descr.length );
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/PacLogonInfo.java

                this.groupSids = new SID[groups.length];
                for ( int i = 0; i < groups.length; i++ ) {
                    this.groupSids[ i ] = new SID(domainId, groups[ i ].getId());
                }
            }
            catch ( IOException e ) {
                throw new PACDecodingException("Malformed PAC", e);
            }
        }
    
    
        public Date getLogonTime () {
            return this.logonTime;
        }
    
    
    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/internal/smb1/net/NetServerEnum2.java

            int start = dstIndex;
            byte[] descr;
            int which = getSubCommand() == NET_SERVER_ENUM2 ? 0 : 1;
    
            try {
                descr = DESCR[ which ].getBytes("ASCII");
            }
            catch ( UnsupportedEncodingException uee ) {
                return 0;
            }
    
            SMBUtil.writeInt2(getSubCommand() & 0xFF, dst, dstIndex);
            dstIndex += 2;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/DcerpcHandle.java

            synchronized ( this ) {
                try {
                    this.state = 1;
                    DcerpcMessage bind = new DcerpcBind(this.binding, this);
                    sendrecv(bind);
                }
                catch ( IOException ioe ) {
                    this.state = 0;
                    throw ioe;
                }
            }
        }
    
    
        /**
         * 
         * @param msg
         * @throws DcerpcException
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jun 30 10:11:57 UTC 2019
    - 12.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/FileLocationTest.java

    
        // #165
        @Test
        public void testV6DCE () throws MalformedURLException, CIFSException {
            try ( SmbFile f = new SmbFile("smb://[::1]/", getContext()) ) {
                f.list();
            } catch (final SmbException e) {
                if (!"Failed to connect: /0:0:0:0:0:0:0:1".equals(e.getMessage())) {
                    throw e;
                }
            }
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/Pac.java

                        if ( log.isDebugEnabled() ) {
                            log.debug("Found unhandled PAC buffer " + bufferType);
                        }
                    }
                }
            }
            catch ( IOException e ) {
                throw new PACDecodingException("Malformed PAC", e);
            }
    
            if ( this.serverSignature == null || this.kdcSignature == null || this.logonInfo == null ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

                        len--;
                    }
                    str = new String( src, srcIndex, len, ServerMessageBlock.OEM_ENCODING );
                }
            } catch( UnsupportedEncodingException uee ) {
                if( log.level > 1 )
                    uee.printStackTrace( log );
            }
            return str;
        }
        int writeSetupWireFormat( byte[] dst, int dstIndex ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SID.java

        public static SID SYSTEM = null;
    
        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) {
            }
        }
    
        static Map sid_cache = new HashMap();
    
        static void resolveSids(DcerpcHandle handle,
                    LsaPolicyHandle policyHandle,
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 26.6K bytes
    - Viewed (0)
Back to top