Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1601 - 1610 of 2,828 for exception (0.13 seconds)

  1. src/main/java/org/codelibs/fess/job/PurgeThumbnailJob.java

         *
         * @return a string containing the execution result with the number of deleted files or error message
         */
        public String execute() {
            try {
                final long count = ComponentUtil.getThumbnailManager().purge(getExpiry());
                return "Deleted " + count + " thumbnail files.";
            } catch (final Exception e) {
                logger.error("Failed to purge thumbnails.", e);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

                throw new IOException("Connection rejected by circuit breaker: " + e.getMessage(), e);
            } catch (RuntimeException e) {
                // Unwrap IOException from RuntimeException
                if (e.getCause() instanceof IOException) {
                    throw (IOException) e.getCause();
                }
                throw new IOException("Connection failed", e);
            } catch (Exception e) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java

    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    class ModelXmlTest {
    
        @Test
        void testXmlRoundtripWithProperties() throws Exception {
            Map<String, String> props = new LinkedHashMap<>();
            props.put("javax.version", "3.1.0");
            props.put("mockito.version", "1.10.19");
            props.put("hamcret.version", "2.1");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicTrustRootIndex.kt

        val subjectCaCerts = subjectToCaCerts[issuer] ?: return null
    
        return subjectCaCerts.firstOrNull {
          try {
            cert.verify(it.publicKey)
            return@firstOrNull true
          } catch (_: Exception) {
            return@firstOrNull false
          }
        }
      }
    
      override fun equals(other: Any?): Boolean =
        other === this ||
          (other is BasicTrustRootIndex && other.subjectToCaCerts == subjectToCaCerts)
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/Jdk9PlatformTest.kt

        platform.assumeJdk9()
        val applicationProtocolUnsupported =
          object : DelegatingSSLSocket(null) {
            override fun getApplicationProtocol(): String = throw UnsupportedOperationException("Mock exception")
          }
        assertThat(Jdk9Platform().getSelectedProtocol(applicationProtocolUnsupported)).isNull()
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureDefaultAtomicHelperTest.java

     * Android.
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class AbstractFutureDefaultAtomicHelperTest extends TestCase {
      public void testUsingExpectedAtomicHelper() throws Exception {
        if (isAndroid()) {
          assertThat(AbstractFutureState.atomicHelperTypeForTest()).isEqualTo("UnsafeAtomicHelper");
        } else {
          assertThat(AbstractFutureState.atomicHelperTypeForTest())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/UnmodifiableIterator.java

    @GwtCompatible
    public abstract class UnmodifiableIterator<E extends @Nullable Object> implements Iterator<E> {
      /** Constructor for use by subclasses. */
      protected UnmodifiableIterator() {}
    
      /**
       * Guaranteed to throw an exception and leave the underlying data unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @Deprecated
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/groovy/elasticsearch.build-complete.gradle

              include(name: "**/daemon-${ProcessHandle.current().pid()}*.log")
            }
    
            fileset(dir: "${gradle.gradleUserHomeDir}/workers", followsymlinks: false)
          }
        } catch (Exception e) {
          logger.lifecycle("Failed to archive additional logs", e)
        }
      }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

        private String processOrigin;
        private ServletRequest processRequest;
        private ServletResponse processResponse;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            responseHeaders = new HashMap<>();
            processCalled = false;
            processOrigin = null;
            processRequest = null;
            processResponse = null;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.3K bytes
    - Click Count (0)
  10. compat/maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java

        }
    
        /**
         * Tests that the ordering of the map resembles the ordering of the input collection of artifacts.
         */
        @Test
        void testArtifactMapByVersionlessIdOrdering() throws Exception {
            List<Artifact> list = new ArrayList<>();
            list.add(newArtifact("b"));
            list.add(newArtifact("a"));
            list.add(newArtifact("c"));
            list.add(newArtifact("e"));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
Back to Top