Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 139 for catch (0.04 sec)

  1. 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)
  2. src/main/java/jcifs/smb1/netbios/NbtAddress.java

             */
            localInetAddress = CLIENT.laddr;
            if( localInetAddress == null ) {
                try {
                    localInetAddress = InetAddress.getLocalHost();
                } catch( UnknownHostException uhe ) {
                    /* Java cannot determine the localhost. This is basically a config
                     * issue on the host. There's not much we can do about it. Just
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            Encdec.enc_uint32le(0, buf, i); i += 4;
            Encdec.enc_uint32le(len + 1, buf, i); i += 4;
            try {
                System.arraycopy(s.getBytes("UTF-16LE"), 0, buf, i, len * 2);
            } catch( UnsupportedEncodingException uee ) {
            }
            i += len * 2;
            buf[i++] = (byte)'\0';
            buf[i++] = (byte)'\0';
            advance(i - index);
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java

            int start = bufferIndex;
    
            int len = readStringLength(buffer, bufferIndex, 32);
            try {
                this.service = new String(buffer, bufferIndex, len, "ASCII");
            }
            catch ( UnsupportedEncodingException uee ) {
                return 0;
            }
            bufferIndex += len + 1;
            // win98 observed not returning nativeFileSystem
            /*
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                        set.add(e);
                    }
                }
    
            }
            catch ( SmbException e ) {
                throw e;
            }
            catch ( IOException ioe ) {
                log.debug("doNetShareEnum failed", ioe);
                throw new SmbException(u.toString(), ioe);
            }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Jul 20 08:41:19 UTC 2019
    - 12.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

                 * If any of the above fail, isExists will not be set true
                 */
    
                this.isExists = true;
    
            }
            catch ( UnknownHostException uhe ) {
                log.debug("Unknown host", uhe);
            }
            catch ( SmbException se ) {
                log.trace("exists:", se);
                switch ( se.getNtStatus() ) {
                case NtStatus.NT_STATUS_NO_SUCH_FILE:
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbPipeInputStream.java

                    fd.markClosed();
                    return 0;
                }
                return resp.getAvailable();
            }
            catch ( SmbException se ) {
                throw seToIoe(se);
            }
        }
    
    
        @Override
        public void close () {
            // ignore, the shared file descriptor is closed by the pipe handle
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Aug 05 07:12:23 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

                    System.arraycopy(auth.getUnicodeHash(transport.getContext(), serverEncryptionKey), 0, this.macSigningKey, 16, 24);
                    break;
                }
            }
            catch ( Exception ex ) {
                throw new SmbException("", ex);
            }
            if ( log.isTraceEnabled() ) {
                log.trace("LM_COMPATIBILITY=" + transport.getContext().getConfig().getLanManCompatibility());
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 10.6K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/jcifs/pac/PacSignature.java

                    break;
                default:
                    this.checksum = new byte[bufferStream.available()];
                    break;
                }
                bufferStream.readFully(this.checksum);
            }
            catch ( IOException e ) {
                throw new PACDecodingException("Malformed PAC signature", e);
            }
        }
    
    
        public int getType () {
            return this.type;
        }
    
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
Back to top