Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 299 for throwing (0.09 sec)

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

      }
    
      public void testSlice_returnEmptySource() {
        assertEquals(ByteSource.empty(), source.slice(0, 3).slice(4, 3));
      }
    
      /**
       * @return the number of exceptions that were suppressed on the expected thrown exception
       */
      private static int runSuppressionFailureTest(ByteSource in, ByteSink out) {
        try {
          in.copyTo(out);
          fail();
        } catch (IOException expected) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

         * directory or a {@code pom.xml} file with the {@code root="true"} attribute.
         * If there's no such directory, an {@code IllegalStateException} will be thrown.
         *
         * @throws IllegalStateException if the root directory could not be found
         * @see #getTopDirectory()
         * @since 4.0.0
         */
        Path getRootDirectory();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. istioctl/pkg/describe/describe.go

    					keyAsString("config")
    				return istioConfig, nil
    			}
    		}
    	}
    
    	return "", nil
    }
    
    // TODO simplify this by showing for each matching Destination the negation of the previous HttpMatchRequest
    // and showing the non-matching Destinations.  (The current code is ad-hoc, and usually shows most of that information.)
    func printVirtualService(writer io.Writer, initPrintNum int,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/ByteStreams.java

       * calls on the same stream will return zero.
       *
       * <p>If {@code b} is null, a {@code NullPointerException} is thrown. If {@code off} is negative,
       * or {@code len} is negative, or {@code off+len} is greater than the length of the array {@code
       * b}, then an {@code IndexOutOfBoundsException} is thrown. If {@code len} is zero, then no bytes
       * are read. Otherwise, the first byte read is stored into element {@code b[off]}, the next one
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  5. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    1F616         ; valid                  ;      ; NV8    # 6.0  CONFOUNDED FACE
    1F617         ; valid                  ;      ; NV8    # 6.1  KISSING FACE
    1F618         ; valid                  ;      ; NV8    # 6.0  FACE THROWING A KISS
    1F619         ; valid                  ;      ; NV8    # 6.1  KISSING FACE WITH SMILING EYES
    1F61A         ; valid                  ;      ; NV8    # 6.0  KISSING FACE WITH CLOSED EYES
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Feb 10 11:25:47 UTC 2024
    - 854.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/transport/Transport.java

    
        /*
         * Build a connection. Only one thread will ever call this method at
         * any one time. If this method throws an exception or the connect timeout
         * expires an encapsulating TransportException will be thrown from connect
         * and the transport will be in error.
         */
    
        protected abstract void doConnect () throws Exception;
    
    
        /*
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  7. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Streams.java

        class SneakyThrower<T extends Throwable> {
          @SuppressWarnings("unchecked") // not really safe, but that's the point
          void throwIt(Throwable t) throws T {
            throw (T) t;
          }
        }
        new SneakyThrower<Error>().throwIt(t);
      }
    
      /**
       * Returns a {@link Stream} containing the elements of the first stream, followed by the elements
       * of the second stream, and so on.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    **FastAPI** will do the right thing with each, the same as with normal dependencies.
    
    ///
    
    ## A dependency with `yield` and `try`
    
    If you use a `try` block in a dependency with `yield`, you'll receive any exception that was thrown when using the dependency.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       * Entries appear in the result {@code ImmutableBiMap} in encounter order.
       *
       * <p>If the mapped keys or values contain duplicates (according to {@link
       * Object#equals(Object)}), an {@code IllegalArgumentException} is thrown when the collection
       * operation is performed. (This differs from the {@code Collector} returned by {@link
       * Collectors#toMap(Function, Function)}, which throws an {@code IllegalStateException}.)
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top