Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 61 for catch (0.1 sec)

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

                                this.type = SmbConstants.TYPE_WORKGROUP;
                                return this.type;
                            }
                        }
                    }
                    catch ( CIFSException e ) {
                        if ( ! ( e.getCause() instanceof UnknownHostException ) ) {
                            throw e;
                        }
                        log.debug("Unknown host", e);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            int size = readUnsignedShort();
            byte[] b = new byte[size];
            read( b, 0, size );
            try {
                return Encdec.dec_utf8( b, 0, size );
            } catch( IOException ioe ) {
                throw new SmbException( "", ioe );
            }
        }
        public final void writeBoolean( boolean v ) throws SmbException {
            tmp[0] = (byte)(v ? 1 : 0);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            } catch( ConnectException ce ) {
                // Try an alternate port if there was an issue communicating to the server
                // Only set the alternate port to the port property if it was successful
                int altPort = (port == 0 || port == DEFAULT_PORT) ? 139 : DEFAULT_PORT;
                negotiate( altPort, resp );
                port = altPort;
            } catch( NoRouteToHostException nr ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

                stream.close();
            }
            catch ( IOException e ) {
                throw new PACDecodingException("Malformed kerberos ticket", e);
            }
    
            ASN1Sequence sequence;
            try {
                sequence = ASN1Util.as(ASN1Sequence.class, derToken.getBaseObject());
            }
            catch ( IOException e ) {
                throw new PACDecodingException("Malformed kerberos ticket", e);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/jcifs/http/NetworkExplorer.java

                    if ( dirents[ i ].getType() == SmbConstants.TYPE_NAMED_PIPE ) {
                        continue;
                    }
                }
                catch ( SmbAuthException sae ) {
                    log.warn("Auth failed", sae);
                }
                catch ( SmbException se ) {
                    log.warn("Connection failed", se);
                    if ( se.getNtStatus() != NtStatus.NT_STATUS_UNSUCCESSFUL ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K 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/Kerb5Authenticator.java

                    }
                }
            }
            catch ( SmbException e ) {
                throw e;
            }
            catch ( IOException e1 ) {
                log.debug("Ignoring invalid initial token", e1);
            }
    
            try {
                return createContext(tc, targetDomain, host);
            }
            catch ( GSSException e ) {
                throw new SmbException("Context setup failed", e);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

                LogStream.setLevel( level );
            }
            if( log.level > 2 ) {
                try {
                    Config.store( log, "JCIFS PROPERTIES" );
                } catch( IOException ioe ) {
                }
            }
        }
    
        public void destroy() {
        }
    
        /**
         * This method simply calls <tt>negotiate( req, resp, false )</tt>
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.4K bytes
    - Viewed (0)
Back to top