Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 2,175 for catch (0.04 sec)

  1. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

                            writer.write(metadata);
                        }
                    });
                } catch (final SsoMessageException e) {
                    throw e;
                } catch (final Exception e) {
                    throw new SsoMessageException(
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/Closer.java

     *   // do stuff
     * } catch (Throwable e) {
     *   // ensure that any checked exception types other than IOException that could be thrown are
     *   // provided here, e.g. throw closer.rethrow(e, CheckedException.class);
     *   throw closer.rethrow(e);
     * } finally {
     *   closer.close();
     * }
     * }</pre>
     *
     * <p>Note that this try-catch-finally block is not equivalent to a try-catch-finally block using
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyDispatcher.java

                    eventSpy.onEvent(event);
                } catch (Exception | LinkageError e) {
                    logError("notify", e, eventSpy);
                }
            }
        }
    
        public void close() {
            if (eventSpies.isEmpty()) {
                return;
            }
            for (EventSpy eventSpy : eventSpies) {
                try {
                    eventSpy.close();
                } catch (Exception | LinkageError e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

       * response is ready.
       */
      @Test
      fun dispatchBlocksWaitingForEnqueue() {
        Thread {
          try {
            Thread.sleep(1000)
          } catch (ignored: InterruptedException) {
          }
          server.enqueue(
            MockResponse.Builder()
              .body("enqueued in the background")
              .build(),
          )
        }.start()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            MavenExecutionResult result;
    
            try {
                result = doExecute(request);
            } catch (OutOfMemoryError e) {
                result = addExceptionToResult(new DefaultMavenExecutionResult(), e);
            } catch (RuntimeException e) {
                // TODO Hack to make the cycle detection the same for the new graph builder
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  6. okhttp/src/main/kotlin/okhttp3/internal/platform/AndroidPlatform.kt

              findByIssuerAndSignatureMethod.invoke(
                trustManager,
                cert,
              ) as TrustAnchor
            trustAnchor.trustedCert
          } catch (e: IllegalAccessException) {
            throw AssertionError("unable to get issues and signature", e)
          } catch (_: InvocationTargetException) {
            null
          }
        }
      }
    
      companion object {
        val isSupported: Boolean =
          when {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/zip/ZipInputStreamUtil.java

         */
        public static ZipEntry getNextEntry(final ZipInputStream zis) {
            assertArgumentNotNull("zis", zis);
    
            try {
                return zis.getNextEntry();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * {@link ZipInputStream#reset()}の例外処理をラップするメソッドです。
         *
         * @param zis
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

            try {
              result = invokeMethod(request.methodName, request.arguments);
            } catch (ThreadDeath death) {
              return;
            } catch (InvocationTargetException exception) {
              responseQueue.put(new Response(request.methodName, null, exception.getTargetException()));
              continue;
            } catch (Throwable throwable) {
              responseQueue.put(new Response(request.methodName, null, throwable));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                return builder;
            } catch (final IOException e) {
                throw new OpenSearchAccessException("Failed to convert " + target + " to JSON.", e);
            }
        }
    
        protected RefreshResponse refresh() {
            try {
                return getClient().get(c -> c.admin().indices().prepareRefresh(index).execute());
            } catch (final Exception e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/settings/BadWordSettingsTest.java

                assertTrue(true);
            } catch (IllegalArgumentException e) {
                fail();
            }
    
            try {
                settings.badword().add("");
                fail();
            } catch (IllegalArgumentException e) {
                assertTrue(true);
            }
    
            try {
                settings.badword().add("aaaa bbb");
                fail();
            } catch (IllegalArgumentException e) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top