Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,175 for catch (0.07 sec)

  1. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

       * constructor.
       */
      public void testAddEqualObjectWithOArgConstructor() {
        equalsTester.addEqualityGroup(equalObject1, notEqualObject1);
        try {
          equalsTester.testEquals();
        } catch (AssertionFailedError e) {
          assertErrorMessage(
              e,
              equalObject1
                  + " [group 1, item 1] must be Object#equals to "
                  + notEqualObject1
                  + " [group 1, item 2]");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

        } catch (UnsupportedOperationException expected) {
        }
      }
    
      private void assertSetCountDecreasingFailure(E element, int count) {
        try {
          setCountNoCheckReturnValue(element, count);
          fail("a call to multiset.setCount() to decrease an element's count should throw");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                    try {
                        zos.write(data.getBytes(Constants.CHARSET_UTF_8));
                    } catch (final IOException e) {
                        logger.warn("Failed to access /{}/{}.", index, hit.getId(), e);
                    }
                    return true;
                });
            } catch (final IOException e) {
                logger.warn("Failed to access /{}.", index, e);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                    }
                } catch (final IOException e) {
                    throw new DictionaryException("Failed to write: " + oldItem + " -> " + item, e);
                }
            }
    
            public void write(final String line) {
                try {
                    writer.write(line);
                    writer.write(Constants.LINE_SEPARATOR);
                } catch (final IOException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/WatchTest.java

            try ( SmbWatchHandle w = this.base.watch(FileNotifyInformation.FILE_NOTIFY_CHANGE_FILE_NAME, false) ) {
                setupWatch(w);
                try ( SmbResource cr = new SmbFile(this.base, "created") ) {
                    cr.createNewFile();
                    assertNotified(w, FileNotifyInformation.FILE_ACTION_ADDED, "created", null);
                }
            }
            catch ( TimeoutException e ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.4K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

                }
            } catch (final CrawlerSystemException e) {
                throw e;
            } catch (final InterruptedException e) {
                if (mt != null && mt.isTeminated()) {
                    throw new ExecutionTimeoutException("The command execution is timeout: " + cmdList, e);
                }
                throw new InterruptedRuntimeException(e);
            } catch (final Exception e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

        } catch (ignored: IllegalArgumentException) {
        }
        try {
          builder.connectTimeout(Duration.ofNanos(1))
        } catch (ignored: IllegalArgumentException) {
        }
        try {
          builder.writeTimeout(Duration.ofNanos(1))
        } catch (ignored: IllegalArgumentException) {
        }
        try {
          builder.readTimeout(Duration.ofNanos(1))
        } catch (ignored: IllegalArgumentException) {
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                    responseData.setCharSet(charset);
                    responseData.setContentLength(0);
                }
            } catch (final CrawlerSystemException e) {
                CloseableUtil.closeQuietly(responseData);
                throw e;
            } catch (final Exception e) {
                CloseableUtil.closeQuietly(responseData);
                throw new CrawlingAccessException("Could not access " + uri, e);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

                return asJson(new ApiDocsResponse().renderData(renderData).status(Status.OK).result());
            } catch (final InvalidQueryException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Invalid query: {}", body.q, e);
                }
                throwValidationErrorApi(e.getMessageCode());
            } catch (final ResultOffsetExceededException e) {
                if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/nio/ChannelUtil.java

            assertArgumentNotNull("channel", channel);
            assertArgumentNotNull("mode", mode);
    
            try {
                return channel.map(mode, 0, channel.size());
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * ファイルのサイズを返します。
         *
         * @param channel
         *            ファイルチャネル。{@literal null}であってはいけません
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top