- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 492 for RuntimeException (0.5 seconds)
-
src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java
// Test constructor with Throwable cause final Exception cause = new RuntimeException("Root cause"); final JobProcessingException exception = new JobProcessingException(cause); assertNotNull(exception); assertEquals(cause, exception.getCause()); assertEquals("java.lang.RuntimeException: Root cause", exception.getMessage()); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.2K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java
throw new RuntimeException(String.format("Expected 1 cell in <tr>, found: %s", tr)); } String methodName = cells.get(0).getTextContent().trim(); Collection<MethodMetaData> methods = classDoc.getClassMetaData().findDeclaredMethods(methodName); if (methods.isEmpty()) {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
} private static <T> void testExceptionPropagation( Class<T> interfaceType, Method method, Function<? super T, ? extends T> wrapperFunction) { RuntimeException exception = new RuntimeException(); T proxy = Reflection.newProxy( interfaceType, new AbstractInvocationHandler() { @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
void testCircuitOpensAfterThreshold() { // Fail 3 times to open the circuit for (int i = 0; i < 3; i++) { try { circuitBreaker.call(() -> { throw new RuntimeException("Test failure"); }); } catch (Exception e) { // Expected } } assertEquals(SimpleCircuitBreaker.State.OPEN, circuitBreaker.getState());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorErrorHandlingTest.java
/** * Test handling of searcher that throws RuntimeException. */ @Test public void test_searcherThrowsRuntimeException() throws Exception { try (RankFusionProcessor processor = new RankFusionProcessor()) { processor.setSearcher(new TestSearcher(100)); processor.register(new ExceptionThrowingSearcher(new RuntimeException("Test exception"))); processor.init();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 14.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
} private static <T> void testExceptionPropagation( Class<T> interfaceType, Method method, Function<? super T, ? extends T> wrapperFunction) { RuntimeException exception = new RuntimeException(); T proxy = Reflection.newProxy( interfaceType, new AbstractInvocationHandler() { @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestExceptions.java
static class SomeOtherCheckedException extends Exception {} static class YetAnotherCheckedException extends Exception {} static class SomeUncheckedException extends RuntimeException {} static class SomeChainingException extends RuntimeException { public SomeChainingException(Throwable cause) { super(cause); } } private TestExceptions() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/TestExceptions.java
static class SomeOtherCheckedException extends Exception {} static class YetAnotherCheckedException extends Exception {} static class SomeUncheckedException extends RuntimeException {} static class SomeChainingException extends RuntimeException { public SomeChainingException(Throwable cause) { super(cause); } } private TestExceptions() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 1.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/TestExceptions.java
static class SomeOtherCheckedException extends Exception {} static class YetAnotherCheckedException extends Exception {} static class SomeUncheckedException extends RuntimeException {} static class SomeChainingException extends RuntimeException { public SomeChainingException(Throwable cause) { super(cause); } } private TestExceptions() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java
@Test public void test_constructor_withMessageCodeMessageAndCause() { // Setup final String message = "Invalid query syntax error"; final Exception cause = new RuntimeException("Query parsing failed"); final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY); // ExecuteCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.9K bytes - Click Count (0)