Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 267 for excepciones (0.05 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

            shutdownMethod.setAccessible(true);
    
            // Invoke the method
            shutdownMethod.invoke(curtainFinallyHook);
    
            // Method should complete without throwing exceptions to the caller
            assertTrue(true);
        }
    
        // Test behavior when an exception occurs during reflection
        public void test_shutdownCommonsHttpClient_withException() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

                assertTrue(e.getCause() instanceof IllegalStateException);
                assertEquals("Cause", e.getCause().getMessage());
            }
        }
    
        @Test
        @DisplayName("Should handle suppressed exceptions")
        void testSuppressedExceptions() {
            // Given
            RuntimeCIFSException mainException = new RuntimeCIFSException("Main error");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            assertEquals(message, exception.getMessage());
            assertEquals(complexMessageCode, exception.getMessageCode());
        }
    
        public void test_causeChainPropagation() {
            // Setup - create a chain of exceptions
            final IllegalArgumentException rootCause = new IllegalArgumentException("Invalid character in query");
            final IllegalStateException middleCause = new IllegalStateException("Query parser state error", rootCause);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

          value < 0 -> 0
          else -> value.toInt()
        }
      } catch (_: NumberFormatException) {
        return defaultValue
      }
    }
    
    /** Closes this, ignoring any checked exceptions. */
    fun Closeable.closeQuietly() {
      try {
        close()
      } catch (rethrown: RuntimeException) {
        throw rethrown
      } catch (_: Exception) {
      }
    }
    
    /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  5. docs/changelogs/upgrading_to_okhttp_4.md

       changing `.java` files.
    
     * **Kotlin source compatibility** is the ability to upgrade Kotlin uses of OkHttp 3.x to 4.x
       without changing `.kt` files.
    
    With a few small exceptions (below), OkHttp 4.x is both binary- and Java source-compatible with
    OkHttp 3.x. You can use an OkHttp 4.x .jar file with applications or libraries built for OkHttp 3.x.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTransportInternalTest.java

    import org.mockito.Mockito;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.SmbSession;
    
    /**
     * Tests for SmbTransportInternal interface using Mockito mocks to
     * exercise method contracts, checked exceptions, and interactions.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbTransportInternalTest {
    
        @Mock
        private SmbTransportInternal transport;
    
        @Mock
        private jcifs.CIFSContext ctx;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

       *
       * <p>Note: this method is idempotent and safe to call from any thread
       */
      public void dispatch() {
        // iterate by index to avoid concurrent modification exceptions
        for (int i = 0; i < listeners.size(); i++) {
          listeners.get(i).dispatch();
        }
      }
    
      /**
       * A special purpose queue/executor that dispatches listener events serially on a configured
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbTreeTest.java

            verify(smbTree).unwrap(CustomSmbTree.class);
        }
    
        /**
         * Test for unwrap() method throwing exception.
         * Verifies that unwrap can throw exceptions when appropriate.
         */
        @Test
        void testUnwrap_throwsException() {
            when(smbTree.unwrap(any())).thenThrow(new ClassCastException("Cannot unwrap to specified type"));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/BufferCacheImplTest.java

            assertNotSame(supplied, got, "Zero-sized cache must not return the released instance");
        }
    
        // Edge: releasing null must be a no-op without exceptions
        @Test
        @DisplayName("releaseBuffer(null) is a no-op and does not throw")
        void releaseNullIsNoop() {
            BufferCacheImpl impl = new BufferCacheImpl(1, 4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java

            PurgeLogJob job = new PurgeLogJob();
            assertNotNull(job);
        }
    
        // Test multiple exceptions occur
        public void test_execute_multipleExceptions() {
            // Create mock services with exceptions
            CrawlingInfoService crawlingInfoService = new CrawlingInfoService() {
                @Override
                public void deleteBefore(long time) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.5K bytes
    - Viewed (0)
Back to top