Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 397 for RuntimeException (0.12 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

                // Verify that it's a system-related exception, not a method signature issue
                assertTrue("Exception should be system-related", t instanceof RuntimeException || t instanceof AssertionError
                        || (t.getCause() != null && t.getCause() instanceof RuntimeException));
            }
        }
    
        @Test
        public void test_private_methods_exist() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

                        if (lmHash.length == 0 && ntHash.length == 0) {
                            throw new RuntimeException("Null setup prohibited.");
                        }
                    } else if (DISABLE_PLAIN_TEXT_PASSWORDS) {
                        throw new RuntimeException("Plain text passwords are disabled");
                    } else if (useUnicode) {
                        // plain text
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRulePostProcess.java

            left.removeAll(seenApiChanges);
            if (!left.isEmpty()) {
                String formattedLeft = CollectionUtils.join("\n", left);
                throw new RuntimeException("The following regressions are declared as accepted, but didn't match any rule:\n\n" + formattedLeft);
            }
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Jun 09 08:16:49 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java

        assertThat(expected).hasCauseThat().isEqualTo(OTHER_THROWABLE);
      }
    
      public void testGetUnchecked_runtimeException() {
        RuntimeException expected =
            assertThrows(RuntimeException.class, () -> getUnchecked(RUNTIME_EXCEPTION_FUTURE));
        assertEquals(RUNTIME_EXCEPTION, expected);
      }
    
      public void testGetUnchecked_error() {
        try {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java

        assertThat(expected).hasCauseThat().isEqualTo(OTHER_THROWABLE);
      }
    
      public void testGetUnchecked_runtimeException() {
        RuntimeException expected =
            assertThrows(RuntimeException.class, () -> getUnchecked(RUNTIME_EXCEPTION_FUTURE));
        assertEquals(RUNTIME_EXCEPTION, expected);
      }
    
      public void testGetUnchecked_error() {
        try {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/exception/InterruptedRuntimeException.java

     */
    package org.codelibs.core.exception;
    
    /**
     * Wrapped InterruptedException.
     *
     * @author shinsuke
     *
     */
    public class InterruptedRuntimeException extends RuntimeException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Creates a new {@link InterruptedRuntimeException} with the specified cause.
         *
         * @param e
         *            the cause
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbExceptionTest.java

        }
    
        @Test
        @DisplayName("Should create SmbException with cause")
        void testSmbExceptionWithCause() {
            // Given
            Exception cause = new RuntimeException("Root cause");
            String message = "SMB operation failed";
    
            // When
            SmbException exception = new SmbException(message, cause);
    
            // Then
            assertNotNull(exception);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/context/CIFSContextWrapperTest.java

        @Test
        void testRenewCredentials_True() {
            // Test renewCredentials(String locationHint, Throwable error) method when true
            String locationHint = "testLocation";
            Throwable error = new RuntimeException("testError");
            when(mockDelegate.renewCredentials(locationHint, error)).thenReturn(true);
            assertTrue(cifsContextWrapper.renewCredentials(locationHint, error));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

        }
    
        @Test
        public void test_constructor_withMessageAndCause() {
            // Test constructor with message and cause
            String message = "Script execution failed";
            Exception cause = new RuntimeException("Underlying error");
            ScriptEngineException exception = new ScriptEngineException(message, cause);
    
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

                        batch.add(eventQueue.take());
                    }
                    demux(batch);
                }
            } catch (InterruptedException e) {
                throw new RuntimeException(e);
            }
        }
    
        private void demux(List<Exchange> exchanges) {
            for (Exchange exchange : exchanges) {
                exchange.process(transferEvent -> {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 8.4K bytes
    - Click Count (0)
Back to Top