Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for catch (0.05 sec)

  1. src/test/java/jcifs/tests/OplockTests.java

                    create2.chain(new Smb2CloseRequest(sess.getConfig(), Smb2Constants.UNSPECIFIED_FILEID));
    
                    try {
                        tree.send(create2);
                    }
                    catch ( Exception e ) {
                        // timeout is expected for now as we do not ack the break
                        if ( ! ( e.getCause() instanceof RequestTimeoutException ) ) {
                            throw e;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

            try {
                try ( ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token)) ) {
                    sequence = ASN1Util.as(ASN1Sequence.class, stream);
                }
            }
            catch ( IOException e ) {
                throw new PACDecodingException("Malformed Kerberos Ticket", e);
            }
            return sequence;
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  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/pac/kerberos/KerberosRelevantAuthData.java

            try {
                try ( ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token)) ) {
                    authSequence = ASN1Util.as(ASN1Sequence.class, stream);
                }
            }
            catch ( IOException e ) {
                throw new PACDecodingException("Malformed kerberos ticket", e);
            }
    
            this.authorizations = new ArrayList<>();
            Enumeration<?> authElements = authSequence.getObjects();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/Crypto.java

            }
            catch ( NoSuchAlgorithmException e ) {
                throw new CIFSUnsupportedCryptoException(e);
            }
        }
    
    
        /**
         * 
         * @return MD5 digest
         */
        public static MessageDigest getMD5 () {
            try {
                return MessageDigest.getInstance("MD5");
            }
            catch ( NoSuchAlgorithmException e ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Aug 17 17:34:29 UTC 2021
    - 5.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  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