Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 2,760 for throwIt (0.5 sec)

  1. src/main/java/jcifs/util/ServerResponseValidator.java

         * @param maxSize maximum allowed size
         * @throws SmbException if validation fails
         */
        public void validateBuffer(byte[] buffer, int expectedSize, int maxSize) throws SmbException {
            totalValidations.incrementAndGet();
    
            if (buffer == null) {
                failedValidations.incrementAndGet();
                throw new SmbException("Response buffer is null");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  2. docs/smb3-features/06-witness-protocol-design.md

            // Verify witness service is authorized
            if (!isAuthorizedWitnessServer(witnessServer)) {
                throw new SecurityException("Unauthorized witness server: " + witnessServer);
            }
        }
        
        public void validateNotification(WitnessNotification notification) throws SecurityException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/misc/AssertionUtil.java

         * @param argValue
         *            The value of the argument.
         * @throws NullArgumentException
         *             If the argument is <code>null</code>.
         */
        public static void assertArgumentNotNull(final String argName, final Object argValue) {
            if (argValue == null) {
                throw new NullArgumentException(argName);
            }
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            // We need to create a proper ASN1TaggedObject with APPLICATION tag class
            // Create a custom base object that throws IOException
            ASN1Encodable badBase = new ASN1Encodable() {
                @Override
                public ASN1Primitive toASN1Primitive() {
                    // Return a primitive that will throw IOException when getEncoded is called
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableMap.java

       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      public final @Nullable V remove(@Nullable Object o) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 41.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            }
        }
    
        /**
         * Establishes a connection to the SMB server.
         *
         * @throws SmbException if the connection fails
         */
        public void connect() throws SmbException {
            try {
                super.connect(RESPONSE_TIMEOUT);
            } catch (final TransportException te) {
                throw new SmbException("Failed to connect: " + address, te);
            }
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmContext.java

         * @return the Type 3 message to send to the server
         * @throws GeneralSecurityException if a cryptographic error occurs
         * @throws CIFSException if a CIFS protocol error occurs
         */
        protected Type3Message createType3Message(final Type2Message msg2) throws GeneralSecurityException, CIFSException {
            if (this.auth instanceof NtlmNtHashAuthenticator) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/InputValidator.java

         * @param fieldName the field name for error reporting
         * @throws IllegalArgumentException if size is invalid
         */
        public static void validateBufferSize(int size, int maxSize, String fieldName) {
            if (size < 0) {
                throw new IllegalArgumentException(fieldName + " size cannot be negative: " + size);
            }
            if (size > maxSize) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbSessionImpl.java

         *            the digest to set
         * @throws SmbException
         */
        private void setDigest(SMBSigningDigest digest) throws SmbException {
            if (this.transport.isSMB2()) {
                this.digest = digest;
            } else {
                this.transport.setDigest(digest);
            }
        }
    
        /**
         * @return the digest
         * @throws SmbException
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableTable.java

       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final void putAll(Table<? extends R, ? extends C, ? extends V> table) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the table unmodified.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.3K bytes
    - Viewed (0)
Back to top