Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 139 for catch (0.04 sec)

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

                } catch (IOException ex) { }
            }
            int domainLength = domain.length;
            byte[] server = new byte[0];
            try {
                String host = NbtAddress.getLocalHost().getHostName();
                if (host != null) {
                    try {
                        server = host.getBytes(UNI_ENCODING);
                    } catch (IOException ex) { }
                }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/context/BaseContext.java

         * @see jcifs.CIFSContext#get(java.lang.String)
         */
        @Override
        public SmbResource get ( String url ) throws CIFSException {
            try {
                return new SmbFile(url, this);
            }
            catch ( MalformedURLException e ) {
                throw new CIFSException("Invalid URL " + url, e);
            }
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 27 18:25:00 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/context/SingletonContext.java

                    try ( FileInputStream in = new FileInputStream(filename) ) {
                        p.load(in);
                    }
                }
    
            }
            catch ( IOException ioe ) {
                log.error("Failed to load config", ioe); //$NON-NLS-1$
            }
            p.putAll(System.getProperties());
            if ( props != null ) {
                p.putAll(props);
            }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Jun 01 08:53:08 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

        protected void doSend0 ( Request request ) throws IOException {
            try {
                doSend(request);
            }
            catch ( IOException ioe ) {
                log.warn("send failed", ioe);
                try {
                    disconnect(true);
                }
                catch ( IOException ioe2 ) {
                    ioe.addSuppressed(ioe2);
                    log.error("disconnect failed", ioe2);
                }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/jcifs/smb1/http/Handler.java

                            } catch (Exception ex) { }
                            if (handlerClass == null) {
                                handlerClass = ClassLoader.getSystemClassLoader(
                                        ).loadClass(className);
                            }
                            handler = (URLStreamHandler) handlerClass.newInstance();
                        } catch (Exception ex) { }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/ShareEnumIterator.java

                        continue;
                    }
                    return nr;
                }
                catch ( CIFSException e ) {
                    log.error("Failed to apply filter", e);
                    continue;
                }
                catch ( MalformedURLException e ) {
                    log.error("Failed to create child URL", e);
                    continue;
                }
            }
            return null;
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/jcifs/smb1/util/HMACT64.java

            }
            for (int i = length; i < BLOCK_LENGTH; i++) {
                ipad[i] = IPAD;
                opad[i] = OPAD;
            }
            try {
                md5 = MessageDigest.getInstance("MD5");
            } catch (Exception ex) {
                throw new IllegalStateException(ex.getMessage());
            }
            engineReset();
        }
    
        private HMACT64(HMACT64 hmac) throws CloneNotSupportedException {
            super("HMACT64");
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  10. 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 );
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.5K bytes
    - Viewed (0)
Back to top