Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1211 - 1220 of 2,175 for catch (0.06 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

                    } else {
                        trackingData.add("No repositories configured");
                    }
                }
    
                Files.write(trackingFile, trackingData, StandardCharsets.UTF_8);
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    
        /**
         * Returns {@code true} if passed in artifact is originating from local repository. In other words, we want
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

                }
              }
            };
        System.setSecurityManager(disallowFilesSecurityManager);
        try {
          file.exists();
          fail("Did not get expected SecurityException");
        } catch (SecurityException expected) {
        }
        ClassPath classPath = ClassPath.from(getClass().getClassLoader());
        // ClassPath may contain resources from the boot class loader; just not from the class path.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/BloomFilter.java

          for (int i = 0; i < dataLength; i++) {
            dataArray.putData(i, din.readLong());
          }
    
          return new BloomFilter<>(dataArray, numHashFunctions, funnel, strategy);
        } catch (IOException e) {
          throw e;
        } catch (Exception e) { // sneaky checked exception
          String message =
              "Unable to deserialize BloomFilter from InputStream."
                  + " strategyOrdinal: "
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/ThrowablesTest.java

        Exception e = new Exception();
    
        assertThat(lazyStackTrace(e)).containsExactly((Object[]) e.getStackTrace()).inOrder();
    
        try {
          lazyStackTrace(e).set(0, null);
          fail();
        } catch (UnsupportedOperationException expected) {
        }
    
        e.setStackTrace(new StackTraceElement[0]);
        assertThat(lazyStackTrace(e)).isEmpty();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/RouteFailureTest.kt

        val call = client.newCall(request)
        return try {
          val response = call.execute()
          val bodyString = response.body.string()
          RecordedResponse(request, response, null, bodyString, null)
        } catch (e: IOException) {
          RecordedResponse(request, null, null, null, e)
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue May 14 17:48:07 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

                        yield dataConfigService.getDataConfig(id).get();
                    }
                    default -> null;
                    };
                });
            } catch (final Exception e) {
                logger.warn("Failed to access a crawling config cache: {}", configId, e);
                return null;
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

                        if (groupPrincipal != null) {
                            roleTypeList.add(systemHelper.getSearchRoleByGroup(groupPrincipal.getName()));
                        }
                    }
                } catch (final IOException e) {
                    throw new CrawlingAccessException("Failed to access permission info", e);
                }
                if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. cni/pkg/install/install.go

    	// Before we process whether any file events have been triggered, we must check that the file is correct
    	// at this moment, and if not, yield. This is to catch other CNIs which might have mutated the file between
    	// the (theoretical) window after we initially install/write, but before we actually start the filewatch.
    	if err := checkValidCNIConfig(in.cfg, in.cniConfigFilepath); err != nil {
    		return nil
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 09 21:33:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

                if (copy.locations != null) {
                    copy.locations = new java.util.LinkedHashMap(copy.locations);
                }
    
                return copy;
            } catch (Exception ex) {
                throw (RuntimeException)
                        new UnsupportedOperationException(getClass().getName() + " does not support clone()").initCause(ex);
            }
        } // -- InputLocation clone()
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/log/bsbhv/BsSearchLogBhv.java

                result.setUserSessionId(DfTypeUtil.toString(source.get("userSessionId")));
                result.setVirtualHost(DfTypeUtil.toString(source.get("virtualHost")));
                return updateEntity(source, result);
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top