Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for IllegalArgumentException (0.21 sec)

  1. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         */
        @Override
        public final void setResponse ( CommonServerMessageBlockResponse response ) {
            if ( ! ( response instanceof ServerMessageBlock ) ) {
                throw new IllegalArgumentException();
            }
            this.response = (ServerMessageBlock) response;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Request#isCancel()
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 32.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/UUID.java

                    case 'a': case 'b': case 'c': case 'd': case 'e': case 'f':
                        value += 10 + (arr[ai] - 'a');
                        break;
                    default:
                        throw new IllegalArgumentException(new String(arr, offset, length));
                }
                count++;
            }
    
            return value;
        }
        static final char[] HEXCHARS = {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/UniAddress.java

         * <tt>NbtAddress</tt>.
         * 
         * @param addr
         *            wrapped address
         */
        public UniAddress ( Object addr ) {
            if ( addr == null ) {
                throw new IllegalArgumentException();
            }
            this.addr = addr;
        }
    
    
        /**
         * Return the IP address of this address as a 32 bit integer.
         */
    
        @Override
        public int hashCode () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

                write_andx_resp = new SmbComWriteAndXResponse();
                options = WRITE_OPTIONS;
                access = SmbConstants.FILE_READ_DATA | SmbConstants.FILE_WRITE_DATA;
            } else {
                throw new IllegalArgumentException( "Invalid mode" );
            }
            file.open( openFlags, access, SmbFile.ATTR_NORMAL, options );
            readSize = file.tree.session.transport.rcv_buf_size - 70;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SpnegoContext.java

        private static ASN1ObjectIdentifier SPNEGO_MECH_OID;
    
        static {
            try {
                SPNEGO_MECH_OID = new ASN1ObjectIdentifier("1.3.6.1.5.5.2");
            }
            catch ( IllegalArgumentException e ) {
                log.error("Failed to initialize OID", e);
            }
        }
    
        private SSPContext mechContext;
    
        private boolean firstResponse = true;
        private boolean completed;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Jan 04 04:18:31 GMT 2021
    - 14.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

        }
    
    
        @Override
        public SmbWatchHandle watch ( int filter, boolean recursive ) throws CIFSException {
    
            if ( filter == 0 ) {
                throw new IllegalArgumentException("filter must not be 0");
            }
    
            if ( !isDirectory() ) {
                throw new SmbException("Is not a directory");
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/UniAddress.java

         * Create a <tt>UniAddress</tt> by wrapping an <tt>InetAddress</tt> or
         * <tt>NbtAddress</tt>.
         */
    
        public UniAddress( Object addr ) {
            if( addr == null ) {
                throw new IllegalArgumentException();
            }
            this.addr = addr;
        }
    
        /**
         * Return the IP address of this address as a 32 bit integer.
         */
    
        public int hashCode() {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 16.2K bytes
    - Viewed (0)
Back to top