Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 74 for catch (0.12 sec)

  1. src/main/java/jcifs/util/Crypto.java

            }
            catch ( NoSuchAlgorithmException e ) {
                throw new CIFSUnsupportedCryptoException(e);
            }
        }
    
    
        /**
         * 
         * @return MD5 digest
         */
        public static MessageDigest getMD5 () {
            try {
                return MessageDigest.getInstance("MD5");
            }
            catch ( NoSuchAlgorithmException e ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Aug 17 17:34:29 UTC 2021
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/Config.java

            String s = props.getProperty(key);
            if ( s != null ) {
                try {
                    def = Integer.parseInt(s);
                }
                catch ( NumberFormatException nfe ) {
                    log.error("Not a number", nfe);
                }
            }
            return def;
        }
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

                            }
                            server.oemDomainName = new String( buffer, bufferIndex,
                                    len, ServerMessageBlock.OEM_ENCODING );
                        }
                    } catch( UnsupportedEncodingException uee ) {
                        if( log.level > 1 )
                            uee.printStackTrace( log );
                    }
                    bufferIndex += len;
                } else {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/spnego/NegTokenTarg.java

                }
                der.writeObject(new DERTaggedObject(true, 1, new DERSequence(fields)));
                return collector.toByteArray();
            }
            catch ( IOException ex ) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
    
        @Override
        protected void parse ( byte[] token ) throws IOException {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/jcifs/tests/NamingTest.java

                    break;
                default:
                    Assume.assumeTrue("Unhandled OEM encoding " + oemEncoding, false);
                }
            }
            catch ( UnsupportedCharsetException e ) {
                Assume.assumeTrue("Charset is not supported on this VM " + oemEncoding, false);
            }
            runFilenameTest(splitString(str, 8));
        }
    
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Jun 06 10:48:05 UTC 2020
    - 7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/FileEntryAdapterIterator.java

                    }
                    catch ( MalformedURLException e ) {
                        log.error("Failed to create child URL", e);
                        continue;
                    }
                }
    
                try ( SmbResource r = adapt(fe) ) {
                    if ( this.filter.accept(r) ) {
                        return r;
                    }
                }
                catch ( MalformedURLException e ) {
    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/http/Handler.java

                            Class<?> handlerClass = null;
                            try {
                                handlerClass = Class.forName(className);
                            }
                            catch ( Exception ex ) {
                                log.debug("Failed to load handler class " + className, ex);
                            }
                            if ( handlerClass == null ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

            try ( SmbSessionImpl session = this.treeConnection.getSession();
                  SmbTransportImpl transport = session.getTransport() ) {
                return transport.isSMB2();
            }
            catch ( SmbException e ) {
                log.debug("Failed to connect for determining SMB2 support", e);
                return false;
            }
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/Name.java

                }
                dst[dstIndex + TYPE_OFFSET] = (byte)((( hexCode & 0xF0 ) >> 4 ) + 0x41 );
                dst[dstIndex + TYPE_OFFSET + 1] = (byte)(( hexCode & 0x0F ) + 0x41 );
            } catch( UnsupportedEncodingException uee ) {
            }
            return SCOPE_OFFSET + writeScopeWireFormat( dst, dstIndex + SCOPE_OFFSET );
        }
    
        int readWireFormat( byte[] src, int srcIndex ) {
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.6K bytes
    - Viewed (0)
Back to top