Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 2,976 for throwIt (0.05 sec)

  1. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

      }
    
      /**
       * Guaranteed to throw an exception and leave the multimap unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final ImmutableList<V> removeAll(@Nullable Object key) {
        throw new UnsupportedOperationException();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

        @Override
        protected void setUp() throws Exception {
            super.setUp();
    
            server = new TestApiExtractorServer(port);
            server.start();
    
            extractor = new ApiExtractor();
            extractor.setUrl("http://127.0.0.1:" + port + "/");
            extractor.init();
        }
    
        @Override
        protected void tearDown() throws Exception {
            server.stop();
            extractor.destroy();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/UnmodifiableIterator.java

      protected UnmodifiableIterator() {}
    
      /**
       * Guaranteed to throw an exception and leave the underlying data unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final void remove() {
        throw new UnsupportedOperationException();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/ProjectUtils.java

                throws InvalidRepositoryException {
            return buildArtifactRepository(repo, artifactRepositoryFactory, c);
        }
    
        public static ArtifactRepository buildArtifactRepository(
                Repository repo, ArtifactRepositoryFactory artifactRepositoryFactory, PlexusContainer c)
                throws InvalidRepositoryException {
            RepositorySystem repositorySystem = rs(c);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

                        throw new ConfigPropertyNotFoundException("filter.null");
                    default:
                        throw new ConfigPropertyNotFoundException(propertyKey);
                    }
                }
            };
    
            ComponentUtil.register(fessConfig, "fessConfig");
        }
    
        @Override
        public void tearDown() throws Exception {
            ComponentUtil.setFessConfig(null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. 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)
  7. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                // Then
                assertNotNull(cancel);
                assertEquals(mid, cancel.getMid());
            }
    
            @Test
            @DisplayName("Should throw NullPointerException when config is null")
            void testNullConfigurationThrowsException() throws Exception {
                // Given
                Constructor<SmbComNtCancel> constructor = SmbComNtCancel.class.getDeclaredConstructor(Configuration.class, int.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            // Then
            assertEquals(0, bytesWritten);
        }
    
        @Test
        @DisplayName("Should read valid structure from wire format")
        void testReadBytesWireFormatValidStructure() throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[256];
            int offset = 10;
    
            // Write valid structure (16 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  9. guava-gwt/test-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/TestPlatform.java

      static <V extends @Nullable Object> V getDoneFromTimeoutOverload(Future<V> future)
          throws ExecutionException {
        checkState(future.isDone(), "Future was expected to be done: %s", future);
        try {
          return future.get(0, SECONDS);
        } catch (InterruptedException e) {
          throw new AssertionError();
        } catch (TimeoutException e) {
          throw new AssertionError();
        }
      }
    
      private TestPlatform() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. 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)
Back to top