Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1741 - 1750 of 2,371 for Try (0.02 seconds)

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

              future.addListener(listener, directExecutor());
            }
          }
        }
      }
    
      private void processAllMustSucceedDoneFuture(
          int index, ListenableFuture<? extends InputT> future) {
        try {
          if (future.isCancelled()) {
            // Clear futures prior to cancelling children. This sets our own state but lets
            // the input futures keep running, as some of them may be used elsewhere.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 16K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsElevateWordToLabelBhv.java

            return ElevateWordToLabelDbm.getInstance();
        }
    
        @Override
        protected <RESULT extends ElevateWordToLabel> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setElevateWordId(DfTypeUtil.toString(source.get("elevateWordId")));
                result.setLabelTypeId(DfTypeUtil.toString(source.get("labelTypeId")));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/opensearch/log/bsbhv/BsFavoriteLogBhv.java

            return FavoriteLogDbm.getInstance();
        }
    
        @Override
        protected <RESULT extends FavoriteLog> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setCreatedAt(toLocalDateTime(source.get("createdAt")));
                result.setDocId(DfTypeUtil.toString(source.get("docId")));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/user/bsbhv/BsGroupBhv.java

        public GroupDbm asDBMeta() {
            return GroupDbm.getInstance();
        }
    
        @Override
        protected <RESULT extends Group> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setGidNumber(DfTypeUtil.toLong(source.get("gidNumber")));
                result.setName(DfTypeUtil.toString(source.get("name")));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java

                    bindingMap.put("container", SingletonLaContainerFactory.getContainer());
                    final GroovyShell groovyShell = new GroovyShell(new Binding(bindingMap));
                    try {
                        return groovyShell.evaluate(template);
                    } catch (final JobProcessingException e) {
                        throw e;
                    } catch (final Exception e) {
                        return null;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/query/WildcardQueryCommandTest.java

        @Test
        public void test_execute_withNonWildcardQuery() {
            QueryContext queryContext = new QueryContext("test", false);
            TermQuery termQuery = new TermQuery(new Term("title", "test"));
    
            try {
                queryCommand.execute(queryContext, termQuery, 1.0f);
                fail("Should throw InvalidQueryException");
            } catch (InvalidQueryException e) {
                // Expected exception
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

      private static final LazyLogger log = new LazyLogger(AggregateFutureState.class);
    
      static {
        AtomicHelper helper;
        Throwable thrownReflectionFailure = null;
        try {
          helper = new SafeAtomicHelper();
        } catch (Throwable reflectionFailure) { // sneaky checked exception
          // Some Android 5.0.x Samsung devices have bugs in JDK reflection APIs that cause
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  8. cmd/erasure-multipart-conditional_test.go

    			erasureDisks[i] = nil
    		}
    		return erasureDisks
    	}
    	z.serverPools[0].erasureDisksMu.Unlock()
    
    	t.Run("complete multipart with if-none-match and read quorum failure", func(t *testing.T) {
    		// Try to complete the multipart upload with if-none-match
    		// This should fail because we can't verify the condition due to read quorum failure
    		opts := ObjectOptions{
    			UserDefined: map[string]string{
    				xhttp.IfNoneMatch: "*",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            assertThrows(RuntimeCIFSException.class, () -> {
                throw new RuntimeCIFSException("Test exception");
            });
    
            // Test exception handling behavior
            try {
                throw new RuntimeCIFSException("Original message", new IllegalStateException("Cause"));
            } catch (RuntimeCIFSException e) {
                assertEquals("Original message", e.getMessage());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/OsddHelperTest.java

            final OsddHelper osddHelper = new OsddHelper();
            osddHelper.setContentType("application/opensearchdescription+xml");
            osddHelper.init();
            assertFalse(osddHelper.hasOpenSearchFile());
    
            try {
                osddHelper.asStream();
                fail();
            } catch (final Exception e) {
                assertEquals("Unsupported Open Search Description Document response.", e.getMessage());
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.3K bytes
    - Click Count (0)
Back to Top