Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 472 for throwing (0.04 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

            when(mockSid.unwrap(sid_t.class)).thenReturn(mockSidT);
            testSids = new jcifs.SID[] { mockSid };
    
            // Act & Assert - Constructor accepts null, no exception thrown
            assertDoesNotThrow(() -> {
                new MsrpcLookupSids(null, testSids);
            });
        }
    
        @Test
        void constructor_shouldThrowExceptionWithNullSids() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/SimpleCircuitBreaker.java

                        successRate * 100, rejectedCalls);
            }
        }
    
        /**
         * Exception thrown when circuit breaker is open
         */
        public static class CircuitBreakerOpenException extends Exception {
            private static final long serialVersionUID = 1L;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RangeSet.java

       *
       * <p>The returned view supports all optional operations supported by this {@code RangeSet}, with
       * the caveat that an {@link IllegalArgumentException} is thrown on an attempt to {@linkplain
       * #add(Range) add} any range not {@linkplain Range#encloses(Range) enclosed} by {@code view}.
       */
      RangeSet<C> subRangeSet(Range<C> view);
    
      // Modification
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

                    setStatus(qr, NtStatus.NT_STATUS_NO_SUCH_FILE);
                    qr.received();
                    q.setResponse(qr);
                    // Now emulate error thrown by transport for create chain
                    throw new SmbException(NtStatus.NT_STATUS_NO_SUCH_FILE, false);
                }
                return null;
            }).when(tree).send(any(Request.class));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/RegularImmutableMap.java

       * it does not, then null is returned. If it does, then if {@code throwIfDuplicateKeys} is true an
       * {@code IllegalArgumentException} is thrown, and otherwise the existing {@link Entry} is
       * returned.
       *
       * @throws IllegalArgumentException if another entry in the bucket has the same key and {@code
       *     throwIfDuplicateKeys} is true
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                        wagon.removeTransferListener(sha1ChecksumObserver);
                    }
    
                    if (downloaded) {
                        // keep the checksum files from showing up on the download monitor...
                        if (downloadMonitor != null) {
                            wagon.removeTransferListener(downloadMonitor);
                        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            }
    
            // Wait for all threads to complete
            for (Thread thread : threads) {
                thread.join();
            }
    
            // Then - no exceptions should have been thrown
            assertTrue(true); // If we reach here, no exceptions occurred
        }
    
        /**
         * Test consistency across multiple calls
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

        void testMethodsWithNullBuffers() {
            netShareEnum = new NetShareEnum(realConfig);
    
            // Write methods return 0 when buffer is null (no NullPointerException thrown)
            assertEquals(0, netShareEnum.writeSetupWireFormat(null, 0));
    
            assertThrows(NullPointerException.class, () -> {
                netShareEnum.writeParametersWireFormat(null, 0);
            });
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Converter.java

      /**
       * Returns a representation of {@code a} as an instance of type {@code B}. If {@code a} cannot be
       * converted, an unchecked exception (such as {@link IllegalArgumentException}) should be thrown.
       *
       * @param a the instance to convert; will never be null
       * @return the converted instance; <b>must not</b> be null
       */
      @ForOverride
      protected abstract B doForward(A a);
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

                  try {
                    if (state() != State.STOPPING) {
                      // This means that the state has changed since we were scheduled. This implies
                      // that an execution of runOneIteration has thrown an exception and we have
                      // transitioned to a failed state, also this means that shutDown has already
                      // been called, so we do not want to call it again.
                      return;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
Back to top