Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 3,030 for thrown (0.1 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

      private Target nullSingleton;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
    
        empty = new Target(emptyCollection(), "empty");
        /*
         * We test that nullSingleton.retainAll(disjointList) does NOT throw a
         * NullPointerException when disjointList does not, so we can't use
         * MinimalCollection, which throws NullPointerException on calls to
         * contains(null).
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/context/AbstractCIFSContextTest.java

        void testRun_closeThrowsException() throws CIFSException {
            // Create a spy on the context to make close() throw an exception
            TestAbstractCIFSContext spyContext = new TestAbstractCIFSContext(mockCredentials) {
                @Override
                public boolean close() throws CIFSException {
                    super.close(); // Call original close to set closeCalled
                    throw new CIFSException("Test exception during close");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CollectPreconditions.java

        if (key == null) {
          throw new NullPointerException("null key in entry: null=" + value);
        } else if (value == null) {
          throw new NullPointerException("null value in entry: " + key + "=null");
        }
      }
    
      @CanIgnoreReturnValue
      static int checkNonnegative(int value, String name) {
        if (value < 0) {
          throw new IllegalArgumentException(name + " cannot be negative but was: " + value);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java

         *
         * @param accessResult the access result to store
         * @throws CrawlerSystemException if the access result is null or already exists
         */
        @Override
        public void store(final AccessResultImpl<Long> accessResult) {
            if (accessResult == null) {
                throw new CrawlerSystemException("AccessResult is null.");
            }
    
            synchronized (idCountLock) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

                @Override
                public Integer call() throws Exception {
                  runLatch.countDown();
                  taskLatch.await();
                  if (throwException) {
                    throw new IllegalStateException("Fail");
                  }
                  return 25;
                }
              });
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        exec = newCachedThreadPool();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

         * @return The IndexResponse from OpenSearch.
         * @throws OpenSearchAccessException if the insertion fails.
         * @throws CrawlingAccessException if there's a conflict during insertion.
         */
        protected IndexResponse insert(final Object target, final OpType opType) {
            final String url = getUrl(target);
            if (url == null) {
                throw new OpenSearchAccessException("url is null.");
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 34.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            verify(tree, never()).hasCapability(anyInt()); // not checked on SMB2
        }
    
        // SMB1 path: without CAP_NT_SMBS it should throw SmbUnsupportedOperationException
        @Test
        @DisplayName("watch() SMB1 without capability throws unsupported")
        void watch_smb1_noCapability_throwsUnsupported() throws Exception {
            when(handle.isValid()).thenReturn(true);
            when(handle.getTree()).thenReturn(tree);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/NtlmServletTest.java

        /**
         * Test the service method with a valid NTLM Authorization header.
         * Simulates a successful NTLM authentication.
         * @throws ServletException
         * @throws IOException
         * @throws CIFSException
         */
        @Test
        void testService_NtlmAuth_Success() throws Exception {
            ntlmServlet.init(servletConfig);
            setupMocksForAuth();
    
            byte[] challenge = new byte[8];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/kerberos/KerberosRelevantAuthData.java

         *
         * @param token the authorization data token
         * @param keys map of Kerberos keys indexed by key type
         * @throws PACDecodingException if decoding fails
         */
        public KerberosRelevantAuthData(byte[] token, Map<Integer, KerberosKey> keys) throws PACDecodingException {
            ASN1Sequence authSequence;
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            assertEquals(lastName.toUpperCase(), writtenLastName);
        }
    
        @Test
        @DisplayName("Test writeParametersWireFormat with null lastName for NET_SERVER_ENUM3 throws NPE")
        void testWriteParametersWireFormatNetServerEnum3NullLastName() throws Exception {
            String domain = "WORKGROUP";
            int serverTypes = NetServerEnum2.SV_TYPE_ALL;
    
            netServerEnum2 = new NetServerEnum2(realConfig, domain, serverTypes);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
Back to top