Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 310 for throw (0.26 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbSession.java

     * occurs an <tt>SmbException</tt> will be thrown. If the credentials are
     * valid, the method will return without throwing an exception. See the
     * last <a href="../../../faq.html">FAQ</a> question.
     * <p>
     * See also the <tt>jcifs.smb1.smb1.client.logonShare</tt> property.
     */
        public static void logon( UniAddress dc,
                            NtlmPasswordAuthentication auth ) throws SmbException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                        throw new SmbUnsupportedOperationException();
                    }
                    throw e;
                }
                try ( SmbFile browser = (SmbFile) parent.resolve(addr.getHostAddress()) ) {
                    try ( SmbTreeHandleImpl th = browser.ensureTreeConnected() ) {
                        if ( th.isSMB2() ) {
                            throw new SmbUnsupportedOperationException();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:41:19 GMT 2019
    - 12.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/transport/Transport.java

        protected abstract void makeKey( Request request ) throws IOException;
        protected abstract Request peekKey() throws IOException;
        protected abstract void doSend( Request request ) throws IOException;
        protected abstract void doRecv( Response response ) throws IOException;
        protected abstract void doSkip() throws IOException;
    
        public synchronized void sendrecv( Request request,
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/transport/Transport.java

    
        protected abstract long makeKey ( Request request ) throws IOException;
    
    
        protected abstract Long peekKey () throws IOException;
    
    
        protected abstract void doSend ( Request request ) throws IOException;
    
    
        protected abstract void doRecv ( Response response ) throws IOException;
    
    
        protected abstract void doSkip ( Long key ) throws IOException;
    
    
        /**
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/spnego/NegTokenInit.java

                    throw new IOException("Malformed SPNEGO token " + constructed);
    
                ASN1Sequence vec = (ASN1Sequence) constructed.getBaseObject();
    
    
                    ASN1ObjectIdentifier spnego = (ASN1ObjectIdentifier) vec.getObjectAt(0);
                    if ( !SPNEGO_OID.equals(spnego) ) {
                        throw new IOException("Malformed SPNEGO token, OID " + spnego);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

        /**
         * 
         * @param tc
         * @param negotiated
         * @param andx
         * @param cred
         * @throws SmbException
         * @throws GeneralSecurityException
         */
        public SmbComSessionSetupAndX ( CIFSContext tc, SmbComNegotiateResponse negotiated, ServerMessageBlock andx, Object cred )
                throws SmbException, GeneralSecurityException {
            super(tc.getConfig(), SMB_COM_SESSION_SETUP_ANDX, andx);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 17 10:20:23 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFileInputStream.java

         * 
         * @throws CIFSException
         */
        public void open () throws CIFSException {
            try ( SmbFileHandleImpl fh = ensureOpen() ) {}
        }
    
    
        /**
         * @param file
         * @param openFlags
         * @return
         * @throws SmbException
         */
        synchronized SmbFileHandleImpl ensureOpen () throws CIFSException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

        }
    
    
        /**
         * @param clazz
         * @return the information
         * @throws CIFSException
         */
        @SuppressWarnings ( "unchecked" )
        public <T extends Decodable> T getInfo ( Class<T> clazz ) throws CIFSException {
            if ( !clazz.isAssignableFrom(this.info.getClass()) ) {
                throw new CIFSException("Incompatible file information class");
            }
            return (T) getInfo();
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

                    }
                    catch ( GeneralSecurityException e ) {
                        throw new PACDecodingException("Decryption failed " + serverKey.getKeyType(), e);
                    }
                    break;
                default:
                    throw new PACDecodingException("Unrecognized field " + tagged.getTagNo());
                }
            }
    
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/rpc.java

                int _nodes = 6;
                int _nodei = _src.index;
                _src.advance(1 * _nodes);
    
                if (node == null) {
                    if (_nodes < 0 || _nodes > 0xFFFF) throw new NdrException( NdrException.INVALID_CONFORMANCE );
                    node = new byte[_nodes];
                }
                _src = _src.derive(_nodei);
                for (int _i = 0; _i < _nodes; _i++) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 8K bytes
    - Viewed (0)
Back to top