Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 139 for catch (0.13 sec)

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

            this.disallowCompound = disallow;
        }
    
    
        protected void initDefaults () throws CIFSException {
    
            try {
                "".getBytes(SmbConstants.DEFAULT_OEM_ENCODING);
            }
            catch ( UnsupportedEncodingException uee ) {
                throw new CIFSException(
                    "The default OEM encoding " + SmbConstants.DEFAULT_OEM_ENCODING + " does not appear to be supported by this JRE.");
            }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/smb1/UniAddress.java

                this.svr = svr;
            }
            public void run() {
                try {
                    ans = NbtAddress.getByName( host, type, scope, svr );
                } catch( UnknownHostException uhe ) {
                    this.uhe = uhe;
                } catch( Exception ex ) {
                    this.uhe = new UnknownHostException( ex.getMessage() );
                } finally {
                    synchronized( sem ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

    synchronized (this) {
            try {
                state = 1;
                DcerpcMessage bind = new DcerpcBind(binding, this);
                sendrecv(bind);
            } catch (IOException ioe) {
                state = 0;
                throw ioe;
            }
    }
        }
        public void sendrecv(DcerpcMessage msg) throws DcerpcException, IOException {
            byte[] stub, frag;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/kerberos/KerberosToken.java

            byte[] content;
            try ( ASN1InputStream stream = new ASN1InputStream(token) ) {
                content = ASN1Util.readUnparsedTagged(0, 0x8000, stream);
            }catch ( IOException e ) {
                throw new PACDecodingException("Malformed kerberos token", e);
            }
    
            try ( ASN1InputStream stream = new ASN1InputStream(content) ) {
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top