Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1791 - 1800 of 3,637 for throwIf (0.05 seconds)

  1. guava-tests/test/com/google/common/io/TestByteSource.java

      }
    
      @Override
      public InputStream openStream() throws IOException {
        inputStreamOpened = true;
        return new RandomAmountInputStream(new In(), new Random());
      }
    
      private final class In extends TestInputStream {
    
        In() throws IOException {
          super(new ByteArrayInputStream(bytes), options);
        }
    
        @Override
        public void close() throws IOException {
          inputStreamClosed = true;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/graph/MutableNetwork.java

       * @throws IllegalArgumentException if {@code edge} already exists in the graph and connects some
       *     other endpoint pair that is not equal to {@code endpoints}
       * @throws IllegalArgumentException if the introduction of the edge would violate {@link
       *     #allowsParallelEdges()} or {@link #allowsSelfLoops()}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/service/DataConfigService.java

         * immediately refreshes the index to ensure the change is visible.</p>
         *
         * @param dataConfig the data configuration to delete
         * @throws IllegalArgumentException if dataConfig is null
         * @throws org.dbflute.exception.EntityAlreadyDeletedException if the entity has already been deleted
         */
        public void delete(final DataConfig dataConfig) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java

         * Get a send region from the pool or allocate a new one
         *
         * @param minSize minimum required size
         * @return memory region for sending
         * @throws IOException if allocation fails
         */
        public RdmaMemoryRegion getSendRegion(int minSize) throws IOException {
            if (minSize <= sendBufferSize) {
                RdmaMemoryRegion region = availableSendRegions.poll();
                if (region != null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java

        ArtifactRepository buildArtifactRepository(Repository repository) throws InvalidRepositoryException;
    
        ArtifactRepository createDefaultRemoteRepository() throws InvalidRepositoryException;
    
        ArtifactRepository createDefaultLocalRepository() throws InvalidRepositoryException;
    
        ArtifactRepository createLocalRepository(File localRepository) throws InvalidRepositoryException;
    
        ArtifactRepository createArtifactRepository(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 7.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/beans/converter/DateConverterTest.java

    import java.sql.Timestamp;
    import java.util.Date;
    
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class DateConverterTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetAsObjectAndGetAsString() throws Exception {
            final DateConverter converter = new DateConverter("yyyy/MM/dd");
            final Date result = (Date) converter.getAsObject("2008/01/16");
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/core/beans/converter/TimeConverterTest.java

    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class TimeConverterTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetAsObjectAndGetAsString() throws Exception {
            final TimeConverter converter = new TimeConverter("HH:mm:ss");
            final java.sql.Time result = (java.sql.Time) converter.getAsObject("12:34:56");
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

      public void testCatching() throws Exception {
        FluentFuture<?> f =
            FluentFuture.from(immediateFailedFuture(new CustomRuntimeException()))
                .catching(Throwable.class, Object::getClass, directExecutor());
        assertThat(f.get()).isEqualTo(CustomRuntimeException.class);
      }
    
      public void testCatchingAsync() throws Exception {
        FluentFuture<?> f =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/service/DuplicateHostService.java

         * immediately refreshes the index to ensure the change is visible.</p>
         *
         * @param duplicateHost the duplicate host configuration to delete
         * @throws IllegalArgumentException if duplicateHost is null
         * @throws org.dbflute.exception.EntityAlreadyDeletedException if the entity has already been deleted
         */
        public void delete(final DuplicateHost duplicateHost) {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

       * should cause {@link #run()} to return.
       */
      protected abstract void run() throws Exception;
    
      /**
       * Stop the service. This method is invoked on the execution thread.
       *
       * <p>By default this method does nothing.
       */
      // TODO: consider supporting a TearDownTestCase-like API
      protected void shutDown() throws Exception {}
    
      /**
       * Invoked to request the service to stop.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 7.2K bytes
    - Click Count (0)
Back to Top