Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 2,371 for Try (0.02 seconds)

  1. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

                }
                return;
            }
            try (Stream<Path> walk = Files.walk(dir, FileVisitOption.FOLLOW_LINKS)) {
                walk.sorted(Comparator.reverseOrder()).forEach(f -> {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Deleting: path={}", f);
                    }
                    try {
                        Files.delete(f);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

            String server = "testServer";
            int access = 123;
    
            // No exception thrown by sendrecv for MsrpcSamrConnect4
            doNothing().when(mockHandle).sendrecv(any(MsrpcSamrConnect4.class));
    
            try (SamrPolicyHandle handle = new SamrPolicyHandle(mockHandle, server, access)) {
                assertNotNull(handle);
                // Verify that sendrecv was called with MsrpcSamrConnect4
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  3. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

         *
         * @param element the element to look for
         * @return the nonnegative number of occurrences of the element
         */
        @Override
        public int count(@Nullable Object element) {
          try {
            return unbox(countMap.get(element));
          } catch (NullPointerException | ClassCastException e) {
            return 0;
          }
        }
    
        /**
         * {@inheritDoc}
         *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java

      static URL[] parseJavaClassPath() {
        ImmutableList.Builder<URL> urls = ImmutableList.builder();
        for (String entry : Splitter.on(PATH_SEPARATOR.value()).split(JAVA_CLASS_PATH.value())) {
          try {
            try {
              urls.add(new File(entry).toURI().toURL());
            } catch (SecurityException e) { // File.toURI checks to see if the file is a directory
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

        }
    
        // Test add method with null name
        @Test
        public void test_add_nullName() {
            TestDataStore dataStore = new TestDataStore("TestStore");
            try {
                dataStoreFactory.add(null, dataStore);
                fail("Should throw IllegalArgumentException");
            } catch (IllegalArgumentException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/io/Flushables.java

       * @see Closeables#close
       */
      @SuppressWarnings("IdentifierName") // See Closeables.close
      public static void flush(Flushable flushable, boolean swallowIOException) throws IOException {
        try {
          flushable.flush();
        } catch (IOException e) {
          if (swallowIOException) {
            logger.log(Level.WARNING, "IOException thrown while flushing Flushable.", e);
          } else {
            throw e;
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 02:48:50 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsWriter.java

            Objects.requireNonNull(output, "output cannot be null");
            Objects.requireNonNull(settings, "settings cannot be null");
    
            try (Writer out = output) {
                new SettingsStaxWriter().write(out, settings.getDelegate());
            } catch (XMLStreamException e) {
                throw new IOException("Error writing settings", e);
            }
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  8. src/main/resources/fess_message.properties

    errors.app.illegal.transition = Illegal transition. Please try again.
    errors.app.db.already.deleted = It may have been deleted by another process. Please try again.
    errors.app.db.already.updated = It may have been updated by another process. Please try again.
    errors.app.db.already.exists = The data already exists. Please try again.
    errors.app.double.submit.request = It may have been processed before this request. Please try again.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  9. src/main/resources/fess_message_en.properties

    errors.app.illegal.transition = Illegal transition. Please try again.
    errors.app.db.already.deleted = It may have been deleted by another process. Please try again.
    errors.app.db.already.updated = It may have been updated by another process. Please try again.
    errors.app.db.already.exists = The data already exists. Please try again.
    errors.app.double.submit.request = It may have been processed before this request. Please try again.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/lang/ClassUtil.java

        @SuppressWarnings("unchecked")
        public static <T> Class<T> forName(final String className, final ClassLoader loader) throws ClassNotFoundRuntimeException {
            assertArgumentNotEmpty("className", className);
            try {
                return (Class<T>) Class.forName(className, true, loader);
            } catch (final ClassNotFoundException e) {
                throw new ClassNotFoundRuntimeException(e);
            }
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 25.6K bytes
    - Click Count (0)
Back to Top