Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 1,922 for Try (0.05 sec)

  1. src/main/java/org/codelibs/core/jar/JarInputStreamUtil.java

         * @see JarInputStream#JarInputStream(InputStream)
         */
        public static JarInputStream create(final InputStream is) throws IORuntimeException {
            assertArgumentNotNull("is", is);
    
            try {
                return new JarInputStream(is);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientCreator.java

            if (logger.isDebugEnabled()) {
                logger.debug("loading {}", componentName);
            }
            CrawlerClient client = null;
            try {
                client = crawlerContainer.getComponent(componentName);
                crawlerClientFactory.addClient(regex, client);
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformerTest.java

            final ResultData resultData = binaryTransformer.transform(responseData);
            assertEquals("xyz", new String(resultData.getData()));
        }
    
        public void test_transform_null() {
            try {
                binaryTransformer.transform(null);
                fail();
            } catch (final CrawlerSystemException e) {
                // NOP
            }
        }
    
        public void test_getData() throws Exception {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

        while (true) {
          call.enterNetworkInterceptorExchange(request, newRoutePlanner, chain)
    
          var response: Response
          var closeActiveExchange = true
          try {
            if (call.isCanceled()) {
              throw IOException("Canceled")
            }
    
            try {
              response = realChain.proceed(request)
              newRoutePlanner = true
            } catch (e: IOException) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/LittleEndianByteArray.java

         *
         * @return an Unsafe instance if successful
         */
        private static Unsafe getUnsafe() {
          try {
            return Unsafe.getUnsafe();
          } catch (SecurityException tryReflectionInstead) {
            // We'll try reflection instead.
          }
          try {
            return AccessController.doPrivileged(
                (PrivilegedExceptionAction<Unsafe>)
                    () -> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/dependencies/dependencies-with-yield.md

    ```Python hl_lines="5-6"
    {!../../docs_src/dependencies/tutorial007.py!}
    ```
    
    /// tip
    
    👆 💪 ⚙️ `async` ⚖️ 😐 🔢.
    
    **FastAPI** 🔜 ▶️️ 👜 ⏮️ 🔠, 🎏 ⏮️ 😐 🔗.
    
    ///
    
    ## 🔗 ⏮️ `yield` &amp; `try`
    
    🚥 👆 ⚙️ `try` 🍫 🔗 ⏮️ `yield`, 👆 🔜 📨 🙆 ⚠ 👈 🚮 🕐❔ ⚙️ 🔗.
    
    🖼, 🚥 📟 ☝ 🖕, ➕1️⃣ 🔗 ⚖️ *➡ 🛠️*, ⚒ 💽 💵 "💾" ⚖️ ✍ 🙆 🎏 ❌, 👆 🔜 📨 ⚠ 👆 🔗.
    
    , 👆 💪 👀 👈 🎯 ⚠ 🔘 🔗 ⏮️ `except SomeException`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

            implements ContainerCapsuleFactory<O, R, C> {
        @Override
        public ContainerCapsule createContainerCapsule(C context) throws InvokerException {
            try {
                return new PlexusContainerCapsule(Thread.currentThread().getContextClassLoader(), container(context));
            } catch (Exception e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  8. tests/test_dependency_contextmanager.py

        state["/async_raise"] = "asyncgen raise started"
        try:
            yield state["/async_raise"]
        except AsyncDependencyError:
            errors.append("/async_raise")
            raise
        finally:
            state["/async_raise"] = "asyncgen raise finalized"
    
    
    def generator_state_try(state: Dict[str, str] = Depends(get_state)):
        state["/sync_raise"] = "generator raise started"
        try:
            yield state["/sync_raise"]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:13:50 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

            final TestListener testListener = new TestListener();
            client.setCrawlerClient(testClient);
            client.setRequestListener(testListener);
            final String url = "http://test.com/";
            try {
                client.execute(RequestDataBuilder.newRequestData().get().url(url).build());
                fail();
            } catch (final MultipleCrawlingAccessException e) {
                // ok
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/labeltype/ApiAdminLabeltypeAction.java

            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
            final LabelType labelType = getLabelType(body).map(entity -> {
                try {
                    labelTypeService.store(entity);
                } catch (final Exception e) {
                    logger.warn("Failed to process a request.", e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top