Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for throwable (0.06 sec)

  1. android/guava/src/com/google/common/util/concurrent/Futures.java

       * returns {@code true}. Calling {@code get()} will immediately throw the provided {@code
       * Throwable} wrapped in an {@code ExecutionException}.
       */
      public static <V extends @Nullable Object> ListenableFuture<V> immediateFailedFuture(
          Throwable throwable) {
        checkNotNull(throwable);
        return new ImmediateFailedFuture<>(throwable);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/Futures.java

       * returns {@code true}. Calling {@code get()} will immediately throw the provided {@code
       * Throwable} wrapped in an {@code ExecutionException}.
       */
      public static <V extends @Nullable Object> ListenableFuture<V> immediateFailedFuture(
          Throwable throwable) {
        checkNotNull(throwable);
        return new ImmediateFailedFuture<>(throwable);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                }
                writeJsonResponse(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, e);
            }
        }
    
        protected String detailedMessage(final Throwable t) {
            if (t == null) {
                return "Unknown";
            }
            Throwable target = t;
            if (target.getCause() == null) {
                return target.getClass().getSimpleName() + "[" + target.getMessage() + "]";
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                } catch (Exception e) {
                    uncheckedThrow(e);
                    return null;
                }
            };
        }
    
        static <T extends Throwable> void uncheckedThrow(Throwable t) throws T {
            throw (T) t; // rely on vacuous cast
        }
    
        private void fireEvent(
                Model model,
                ModelBuildingRequest request,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  5. .teamcity/.mvn/wrapper/maven-wrapper.jar

    org/apache/maven/wrapper/cli/CommandLineArgumentE.class package org.apache.maven.wrapper.cli; public synchronized class CommandLineArgumentE extends RuntimeException { public void CommandLineArgumentE(String); public void CommandLineArgumentE(String, Throwable); } org/apache/maven/wrapper/cli/CommandLineConverter.class package org.apache.maven.wrapper.cli; public abstract interface CommandLineConverter { public abstract Object convert(Iterable) throws CommandLineArgumentE; public abstract Object convert(Iterable,...
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 49.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        super.tearDown();
        // TODO(cpovirk): run tests in other thread instead of messing with main thread interrupt status
        Thread.interrupted();
        LocalCache.logger.removeHandler(logHandler);
      }
    
      private Throwable popLoggedThrowable() {
        List<LogRecord> logRecords = logHandler.getStoredLogRecords();
        assertEquals(1, logRecords.size());
        LogRecord logRecord = logRecords.get(0);
        logHandler.clear();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                            protected void configure() {
                                try {
                                    container.lookup(Injector.class).discover(extension.getClassRealm());
                                } catch (Throwable e) {
                                    // ignore
                                    e.printStackTrace();
                                }
                            }
                        },
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbSessionImpl.java

            }
    
            return this;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#finalize()
         */
        @Override
        protected void finalize () throws Throwable {
            if ( isConnected() && this.usageCount.get() != 0 ) {
                log.warn("Session was not properly released");
            }
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

            .addEqualityGroup(new TypeToken<List<String>>() {}.method(setMethod))
            .testEquals();
      }
    
      private interface Loser<E extends Throwable> {
        void lose() throws E;
      }
    
      public <T extends Loser<AssertionError>> void testMethod_exceptionTypes()
          throws NoSuchMethodException {
        Method failMethod = Loser.class.getMethod("lose");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_3x.md

    
    ## Version 3.14.4
    
    _2019-09-29_
    
     *  Fix: Cancel calls that fail due to unexpected exceptions. We had a bug where an enqueued call
        would never call back if it crashed with an unchecked throwable, such as a
        `NullPointerException` or `OutOfMemoryError`. We now call `Callback.onFailure()` with an
        `IOException` that reports the call as canceled. The triggering exception is still delivered to
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
Back to top