Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 541 - 550 of 1,188 for Exception (0.05 seconds)

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

      /**
       * {@inheritDoc}
       *
       * @throws IllegalArgumentException if the given value is already bound to a different key in this
       *     bimap. The bimap will remain unmodified in this event. To avoid this exception, call {@link
       *     #forcePut} instead.
       */
      @CanIgnoreReturnValue
      @Override
      @Nullable V put(@ParametricNullness K key, @ParametricNullness V value);
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. docs_src/dependencies/tutorial008c_an_py39.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI, HTTPException
    
    app = FastAPI()
    
    
    class InternalError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except InternalError:
            print("Oops, we didn't raise again, Britney 😱")
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
        if item_id == "portal-gun":
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 700 bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        try {
          @SuppressWarnings("unchecked") // We'll get a runtime exception if the type is wrong.
          Invokable<Object, ?> unsafe = (Invokable<Object, ?>) invokable;
          unsafe.invoke(instance, params);
          Assert.fail(
              "No exception thrown for parameter at index "
                  + paramIndex
                  + " from "
                  + invokable
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  4. docs/en/docs/advanced/security/oauth2-scopes.md

    We create an `HTTPException` that we can reuse (`raise`) later at several points.
    
    In this exception, we include the scopes required (if any) as a string separated by spaces (using `scope_str`). We put that string containing the scopes in the `WWW-Authenticate` header (this is part of the spec).
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 10:49:48 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        subset.clear();
        assertThat(elementSet).containsExactly("a", "f").inOrder();
        assertThat(subset).isEmpty();
        assertEquals(3, ms.size());
      }
    
      public void testCustomComparator() throws Exception {
        Comparator<String> comparator =
            new Comparator<String>() {
              @Override
              public int compare(String o1, String o2) {
                return o2.compareTo(o1);
              }
            };
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13K bytes
    - Click Count (0)
  6. docs/de/llm-prompt.md

    * «the enumeration»: «die Enumeration»
    * «the enum»: «das Enum»
    * «the engine»: «die Engine»
    * «the error response»: «die Error-Response»
    * «the event»: «das Event»
    * «the exception»: «die Exception»
    * «the exception handler»: «der Exceptionhandler»
    * «the form model»: «das Formularmodell»
    * «the form body»: «der Formularbody»
    * «the header»: «der Header»
    * «the headers» (plural): «die Header»
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 09:39:53 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          while (httpConnection.hasNext()) {
            httpConnection.next().closeQuietly()
            httpConnection.remove()
          }
          dispatcher.close()
        }
      }
    
      @Throws(Exception::class)
      private fun acceptConnections() {
        var nextConnectionIndex = 0
        while (true) {
          val socket: Socket
          try {
            socket = serverSocket!!.accept()
          } catch (e: SocketException) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 02 20:36:00 GMT 2025
    - 40.3K bytes
    - Click Count (0)
  8. docs/en/docs/_llm-test.md

    ```Python
    wont_work()  # This won't work 😱
    works(foo="bar")  # This works 🎉
    ```
    
    ...and that's it.
    
    ////
    
    //// tab | Info
    
    Code in code blocks should not be modified, with the exception of comments.
    
    See section `### Content of code blocks` in the general prompt in `scripts/translate.py`.
    
    ////
    
    ## Tabs and colored boxes { #tabs-and-colored-boxes }
    
    //// tab | Test
    
    /// info
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 11 14:48:47 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

        private final Map<String, Integer> globalStringFrequency = new HashMap<>();
        private int totalPoms = 0;
    
        public static void main(String[] args) throws Exception {
            if (args.length < 1) {
                System.out.println("Usage: PomMemoryAnalyzer <directory-with-poms>");
                System.exit(1);
            }
    
            Path rootDir = Paths.get(args[0]);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/cache/Cache.java

       * {@code null}; it may either return a non-null value or throw an exception.
       *
       * <p>No observable state associated with this cache is modified until loading completes.
       *
       * @throws ExecutionException if a checked exception was thrown while loading the value
       * @throws UncheckedExecutionException if an unchecked exception was thrown while loading the
       *     value
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8.3K bytes
    - Click Count (0)
Back to Top