Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 139 for catch (0.12 sec)

  1. src/main/java/jcifs/context/CIFSContextWrapper.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 Jul 01 13:12:10 UTC 2018
    - 4.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

            DEFAULT_DOMAIN = Config.getProperty("jcifs.smb1.smb.client.domain", null);
            String defaultWorkstation = null;
            try {
                defaultWorkstation = NbtAddress.getLocalHost().getHostName();
            } catch (UnknownHostException ex) { }
            DEFAULT_WORKSTATION = defaultWorkstation;
        }
    
        /**
         * Creates a Type-1 message using default values from the current
         * environment.
         */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NtlmHttpFilter.java

                        ssn.treeConnectLogon();
                    }
                }
                return new NtlmChallenge(trans.getServerEncryptionKey(), dc);
            }
            catch ( SmbException e ) {
                throw e;
            }
            catch ( IOException e ) {
                throw new SmbException("Connection failed", e);
            }
        }
    
    
        /**
         * @return
         */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                        }
                    }
                }
            }
            catch ( SmbException e ) {
                throw e;
            }
            catch ( IOException e1 ) {
                log.debug("Ignoring invalid initial token", e1);
            }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java

            if (errorCode != 0)
                return 4;
    
            try {
                securityDescriptor = new SecurityDescriptor();
                bufferIndex += securityDescriptor.decode(buffer, bufferIndex, len);
            } catch (IOException ioe) {
                throw new RuntimeException(ioe.getMessage());
            }
    
            return bufferIndex - start;
        }
        public String toString() {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/java/jcifs/dcerpc/msrpc/SamrPolicyHandle.java

            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: Sun Jul 01 13:12:10 UTC 2018
    - 2.2K bytes
    - Viewed (0)
Back to top