Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 139 for catch (0.04 sec)

  1. src/main/java/jcifs/netbios/Lmhosts.java

                            populate(r, tc);
                        }
                    }
                    result = this.table.get(name);
                }
            }
            catch ( IOException fnfe ) {
                log.error("Could not read lmhosts " + tc.getConfig().getLmHostsFileName(), fnfe); //$NON-NLS-1$
            }
            return result;
        }
    
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.1K bytes
    - Viewed (0)
  2. 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);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/UniAddress.java

         * new String[] { "SRV" }
         * );
         * return name;
         * } catch (NameNotFoundException nnfe) {
         * uhe = new UnknownHostException(nnfe.getMessage());
         * }
         * int dot = name.indexOf('.');
         * if (dot == -1)
         * break;
         * name = name.substring(dot + 1);
         * }
         * } catch (NamingException ne) {
         * if (log.level > 1)
         * ne.printStackTrace(log);
         * }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/HMACT64.java

            this.opad = hmac.opad;
            this.md5 = (MessageDigest) hmac.md5.clone();
        }
    
    
        @Override
        public Object clone () {
            try {
                return new HMACT64(this);
            }
            catch ( CloneNotSupportedException ex ) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
    
        @Override
        protected byte[] engineDigest () {
            byte[] digest = this.md5.digest();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

                    // encrypted
                    try {
                        this.password = pwAuth.getAnsiHash(this.ctx, this.server.encryptionKey);
                    }
                    catch ( GeneralSecurityException e ) {
                        throw new RuntimeCIFSException("Failed to encrypt password", e);
                    }
                    this.passwordLength = this.password.length;
                }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/net/NetShareEnum.java

        protected int writeParametersWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            byte[] descr;
    
            try {
                descr = DESCR.getBytes("ASCII");
            }
            catch ( UnsupportedEncodingException uee ) {
                return 0;
            }
    
            SMBUtil.writeInt2(NET_SHARE_ENUM, dst, dstIndex);
            dstIndex += 2;
            System.arraycopy(descr, 0, dst, dstIndex, descr.length);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrPolicyHandle.java

            this.handle = handle;
            if (server == null)
                server = "\\\\";
            MsrpcSamrConnect4 rpc = new MsrpcSamrConnect4(server, access, this);
            try {
                handle.sendrecv(rpc);
            } catch (DcerpcException de) {
                if (de.getErrorCode() != DcerpcError.DCERPC_FAULT_OP_RNG_ERROR)
                    throw de;
    
                MsrpcSamrConnect2 rpc2 = new MsrpcSamrConnect2(server, access, this);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                                this.type = SmbConstants.TYPE_WORKGROUP;
                                return this.type;
                            }
                        }
                    }
                    catch ( CIFSException e ) {
                        if ( ! ( e.getCause() instanceof UnknownHostException ) ) {
                            throw e;
                        }
                        log.debug("Unknown host", e);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NetworkExplorer.java

                    if ( dirents[ i ].getType() == SmbConstants.TYPE_NAMED_PIPE ) {
                        continue;
                    }
                }
                catch ( SmbAuthException sae ) {
                    log.warn("Auth failed", sae);
                }
                catch ( SmbException se ) {
                    log.warn("Connection failed", se);
                    if ( se.getNtStatus() != NtStatus.NT_STATUS_UNSUCCESSFUL ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComNegotiate.java

            return 0;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            byte[] dialects;
            try {
                dialects = DIALECTS.getBytes( "ASCII" );
            } catch( UnsupportedEncodingException uee ) {
                return 0;
            }
            System.arraycopy( dialects, 0, dst, dstIndex, dialects.length );
            return dialects.length;
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.9K bytes
    - Viewed (0)
Back to top