Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for exceptions (0.3 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      public void testImmediateFailedFuture() throws Exception {
        Exception exception = new Exception();
        ListenableFuture<String> future = immediateFailedFuture(exception);
        assertThat(future.toString()).endsWith("[status=FAILURE, cause=[" + exception + "]]");
    
        try {
          getDone(future);
          fail();
        } catch (ExecutionException expected) {
          assertSame(exception, expected.getCause());
        }
    
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      public void testImmediateFailedFuture() throws Exception {
        Exception exception = new Exception();
        ListenableFuture<String> future = immediateFailedFuture(exception);
        assertThat(future.toString()).endsWith("[status=FAILURE, cause=[" + exception + "]]");
    
        try {
          getDone(future);
          fail();
        } catch (ExecutionException expected) {
          assertSame(exception, expected.getCause());
        }
    
        try {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  3. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    class Expand { private java.io.File dest; private java.io.File source; private boolean overwrite; public void Expand(); public void execute() throws Exception; protected void expandFile(java.io.File, java.io.File) throws Exception; protected void extractFile(java.io.File, java.io.File, java.io.InputStream, String, java.util.Date, boolean) throws Exception; public void setDest(java.io.File); public void setSrc(java.io.File); public void setOverwrite(boolean); public java.io.File resolveFile(java.io.File,...
    Archive
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 164.6K bytes
    - Viewed (0)
  4. maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    class Expand { private java.io.File dest; private java.io.File source; private boolean overwrite; public void Expand(); public void execute() throws Exception; protected void expandFile(java.io.File, java.io.File) throws Exception; protected void extractFile(java.io.File, java.io.File, java.io.InputStream, String, java.util.Date, boolean) throws Exception; public void setDest(java.io.File); public void setSrc(java.io.File); public void setOverwrite(boolean); public java.io.File resolveFile(java.io.File,...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Oct 23 23:48:02 GMT 2009
    - 164.6K bytes
    - Viewed (0)
  5. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    class Expand { private java.io.File dest; private java.io.File source; private boolean overwrite; public void Expand(); public void execute() throws Exception; protected void expandFile(java.io.File, java.io.File) throws Exception; protected void extractFile(java.io.File, java.io.File, java.io.InputStream, String, java.util.Date, boolean) throws Exception; public void setDest(java.io.File); public void setSrc(java.io.File); public void setOverwrite(boolean); public java.io.File resolveFile(java.io.File,...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 164.6K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    class Expand { private java.io.File dest; private java.io.File source; private boolean overwrite; public void Expand(); public void execute() throws Exception; protected void expandFile(java.io.File, java.io.File) throws Exception; protected void extractFile(java.io.File, java.io.File, java.io.InputStream, String, java.util.Date, boolean) throws Exception; public void setDest(java.io.File); public void setSrc(java.io.File); public void setOverwrite(boolean); public java.io.File resolveFile(java.io.File,...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 164.6K bytes
    - Viewed (0)
  7. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.jar

    class Expand { private java.io.File dest; private java.io.File source; private boolean overwrite; public void Expand(); public void execute() throws Exception; protected void expandFile(java.io.File, java.io.File) throws Exception; protected void extractFile(java.io.File, java.io.File, java.io.InputStream, String, java.util.Date, boolean) throws Exception; public void setDest(java.io.File); public void setSrc(java.io.File); public void setOverwrite(boolean); } org/codehaus/plexus/util/FastMap$1.class...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 200.2K bytes
    - Viewed (0)
  8. fastapi/routing.py

                    "No response object was returned. There's a high chance that the "
                    "application code is raising an exception and a dependency with yield "
                    "has a block with a bare except, or a block with except Exception, "
                    "and is not raising the exception again. Read more about it in the "
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  9. fastapi/applications.py

            )
            self.exception_handlers: Dict[
                Any, Callable[[Request, Any], Union[Response, Awaitable[Response]]]
            ] = {} if exception_handlers is None else dict(exception_handlers)
            self.exception_handlers.setdefault(HTTPException, http_exception_handler)
            self.exception_handlers.setdefault(
                RequestValidationError, request_validation_exception_handler
            )
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/LocalCache.java

      interface ValueReference<K, V> {
        /** Returns the value. Does not block or throw exceptions. */
        @CheckForNull
        V get();
    
        /**
         * Waits for a value that may still be loading. Unlike get(), this method can block (in the case
         * of FutureValueReference).
         *
         * @throws ExecutionException if the loading thread throws an exception
         * @throws ExecutionError if the loading thread throws an error
         */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
Back to top