Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 531 - 540 of 578 for Throwable (0.08 seconds)

  1. 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();
                                }
                            }
                        },
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        }
    
        tearDownStack.addTearDown(() -> Thread.interrupted());
      }
    
      @Override
      protected void tearDown() {
        tearDownStack.runTearDown();
      }
    
      @Override
      public void runBare() throws Throwable {
        try {
          super.runBare();
        } catch (AssertionError e) {
          if (e.getMessage() != null && e.getMessage().contains("Dude, where's my interrupt?")) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                } else if (logger.isInfoEnabled()) {
                    logger.info("IndexUpdater is terminated.");
                }
                forceStop();
            } catch (final Throwable t) {
                if (ComponentUtil.available()) {
                    logger.error("IndexUpdater is terminated.", t);
                } else if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/lang/ClassUtil.java

            if (StringUtil.isEmpty(className)) {
                return null;
            }
            try {
                return (Class<T>) Class.forName(className, true, loader);
            } catch (final Throwable ignore) {
                return null;
            }
        }
    
        /**
         * If the class is a primitive type, returns its wrapper class.
         *
         * @param className
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/core/exception/SUnsupportedOperationExceptionTest.java

        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.exception.ClUnsupportedOperationException#SUnsupportedOperationException(java.lang.String, java.lang.Throwable)}
         * .
         */
        @Test
        public void testSUnsupportedOperationExceptionStringThrowable() {
            final ClUnsupportedOperationException clUnsupportedOperationException =
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/exception/SIllegalStateExceptionTest.java

            assertThat(clIllegalStateException.getMessage(), is("hoge"));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.exception.ClIllegalStateException#SIllegalStateException(java.lang.String, java.lang.Throwable)}
         * .
         */
        @Test
        public void testSIllegalStateExceptionStringThrowable() {
            final ClIllegalStateException clIllegalStateException = new ClIllegalStateException("hoge", new NullPointerException());
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  7. 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");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 89.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

        public void test_run_containerNotAvailable() throws Exception {
            final List<String> sessionIdList = Arrays.asList("session1");
            indexUpdater.setSessionIdList(sessionIdList);
    
            final AtomicReference<Throwable> caughtException = new AtomicReference<>();
            indexUpdater.setUncaughtExceptionHandler((t, e) -> caughtException.set(e));
    
            // Make dataService throw ContainerNotAvailableException
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

        }
    
        taskRunner.newQueue().execute(toString(), cancelable = false) {
          try {
            logger.fine("$this starting to accept connections")
            acceptConnections()
          } catch (e: Throwable) {
            logger.log(Level.WARNING, "$this failed unexpectedly", e)
          }
    
          // Release all sockets and all threads, even if any close fails.
          serverSocket?.closeQuietly()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 40.3K bytes
    - Click Count (0)
  10. docs/changelogs/changelog_2x.md

    on upgrading from 1.x to 2.x.
    
    _2014-06-21_
    
     *  **API Change**: Use `IOException` in `Callback.onFailure()`. This is
        a source-incompatible change, and is different from OkHttp 2.0.0-RC2 which
        used `Throwable`.
     *  Fix: Fixed a caching bug where we weren't storing rewritten request headers
        like `Accept-Encoding`.
     *  Fix: Fixed bugs in handling the SPDY window size. This was stalling certain
        large downloads
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Click Count (0)
Back to Top