Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 492 for RuntimeException (0.12 seconds)

  1. src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java

        }
    
        @Test
        void testCauseConstructor() {
            // Test the constructor with a cause argument
            Throwable cause = new RuntimeException("Root cause");
            RequestTimeoutException exception = new RequestTimeoutException(cause);
            assertEquals("java.lang.RuntimeException: Root cause", exception.getMessage(), "Message should be derived from the cause");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/ClassAnalysisException.kt

     */
    
    package gradlebuild.basics.classanalysis
    
    import org.gradle.internal.exceptions.Contextual
    
    
    @Contextual
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 821 bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          assertTrue(observed.contains(striped.get(new Object())));
        }
    
        try {
          striped.getAt(-1);
          fail();
        } catch (RuntimeException expected) {
        }
    
        try {
          striped.getAt(striped.size());
          fail();
        } catch (RuntimeException expected) {
        }
      }
    
      public void testMaxSize() {
        for (Striped<?> striped :
            ImmutableList.of(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          assertTrue(observed.contains(striped.get(new Object())));
        }
    
        try {
          striped.getAt(-1);
          fail();
        } catch (RuntimeException expected) {
        }
    
        try {
          striped.getAt(striped.size());
          fail();
        } catch (RuntimeException expected) {
        }
      }
    
      public void testMaxSize() {
        for (Striped<?> striped :
            ImmutableList.of(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

                        tempFile.deleteOnExit();
                        return tempFile;
                    } catch (IOException e) {
                        throw new RuntimeException(e);
                    }
                }
            };
            systemHelper.init();
            ComponentUtil.register(systemHelper, "systemHelper");
    
            // Initialize DictionaryManager mock
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  6. 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)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/DocGenerationException.java

     * limitations under the License.
     */
    package gradlebuild.docs;
    
    import org.gradle.internal.exceptions.Contextual;
    
    @Contextual
    public class DocGenerationException extends RuntimeException {
        public DocGenerationException(String message) {
            super(message);
        }
    
        public DocGenerationException(String message, Throwable throwable) {
            super(message, throwable);
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 968 bytes
    - Click Count (0)
  8. 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)
  9. 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)
  10. 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)
Back to Top