Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/main/java/jcifs/spnego/NegTokenInit.java

                der.writeObject(derApplicationSpecific);
                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: Sun Oct 01 12:01:17 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NbtSocket.java

                out.write( buffer, 0, ssp0.writeWireFormat( buffer, 0 ));
    
                setSoTimeout( soTimeout );
                type = ssp0.readPacketType( in, buffer, 0 );
            } catch( IOException ioe ) {
                close();
                throw ioe;
            }
    
            switch( type ) {
                case SessionServicePacket.POSITIVE_SESSION_RESPONSE:
                    if( log.level > 2 )
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/jcifs/context/AbstractCIFSContext.java

         * {@inheritDoc}
         *
         * @see java.lang.Thread#run()
         */
        @Override
        public void run () {
            try {
                this.closed = true;
                close();
            }
            catch ( CIFSException e ) {
                log.warn("Failed to close context on shutdown", e);
            }
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 3.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/PacMac.java

                    return calculateMacHMACAES(usage, key, data);
                }
                else {
                    throw new PACDecodingException("Invalid MAC algorithm");
                }
            }
            catch ( GeneralSecurityException e ) {
                throw new PACDecodingException("Failed to calculate MAC", e);
            }
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/jcifs/smb1/http/NtlmServlet.java

                    ntlm = new NtlmPasswordAuthentication(domain, user, password);
                }
                try {
                    SmbSession.logon(dc, ntlm);
                } catch (SmbAuthException sae) {
                    response.setHeader("WWW-Authenticate", "NTLM");
                    if (offerBasic) {
                        response.addHeader("WWW-Authenticate", "Basic realm=\"" +
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/Type1Message.java

                pos += writeSecurityBufferContent(type1, pos, domOffOff, domain);
                pos += writeSecurityBufferContent(type1, pos, wsOffOff, workstation);
                return type1;
            }
            catch ( IOException ex ) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
    
        @Override
        public String toString () {
            String suppliedDomainString = getSuppliedDomain();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Sep 02 12:55:08 UTC 2018
    - 7.8K 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/smb1/smb1/SmbFileInputStream.java

     *
     * @throws IOException if a network error occurs
     */
    
        public void close() throws IOException {
            try {
                file.close();
                tmp = null;
            } catch (SmbException se) {
                throw seToIoe(se);
            }
        }
    
    /**
     * Reads a byte of data from this input stream.
     *
     * @throws IOException if a network error occurs
     */
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.9K bytes
    - Viewed (0)
Back to top