- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 358 for RuntimeException (0.57 sec)
-
impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java
} catch (InvalidVersionSpecificationException e) { throw new RuntimeException(e); } } private VersionRange parseVersionRange(String spec) { try { return versionScheme.parseVersionRange(spec); } catch (InvalidVersionSpecificationException e) { throw new RuntimeException(e); } } @SuppressWarnings({"unchecked", "rawtypes"})
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jul 17 05:56:35 UTC 2025 - 25.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
statusField.setAccessible(true); statusField.set(this, status); } catch (Exception e) { throw new RuntimeException(e); } } public void setFlagsForTest(int flags) { // Workaround: Use reflection to set private flags field try {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/logging/LoggingExecutionListener.java
if (status != null) { halted = status.isHalted(); } else { // assume sensible default Throwable t = projectExecutionEvent.getCause(); halted = (t instanceof RuntimeException || !(t instanceof Exception)) || !MavenExecutionRequest.REACTOR_FAIL_NEVER.equals(session.getReactorFailureBehavior())
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java
}, directExecutor()); assertThat(called[0]).isTrue(); } // Avoid trouble with automatic mapping between JRE and Kotlin runtime classes. static class CustomRuntimeException extends RuntimeException {} public void testCatching() throws Exception { FluentFuture<?> f = FluentFuture.from(immediateFailedFuture(new CustomRuntimeException())) .catching( Throwable.class,Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 5.7K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/MavenLifecycleParticipantTest.java
.getCanonicalPath()); } catch (IOException e) { throw new RuntimeException(e); } project.getModel().addDependency(dependency); } @Override public void afterSessionStart(MavenSession session) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/ResponseTest.java
// Verify that the method was called verify(mockResponse, times(1)).reset(); } @Test void testGetException() { Exception testException = new RuntimeException("Test Exception"); when(mockResponse.getException()).thenReturn(testException); assertEquals(testException, mockResponse.getException()); // Test null exceptionRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
try { Field f = findField(target.getClass(), name); f.setAccessible(true); f.set(target, value); } catch (Exception e) { throw new RuntimeException(e); } } // Utility: reflectively get a private/protected field (searches up the hierarchy) private static Object getField(Object target, String name) { try {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
private static final ListenerCallQueue.Event<Object> THROWING_EVENT = new ListenerCallQueue.Event<Object>() { @Override public void call(Object object) { throw new RuntimeException(); } @Override public String toString() { return "throwing()"; } }; public void testEnqueueAndDispatch() { Object listener = new Object();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 8.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java
private static final ListenerCallQueue.Event<Object> THROWING_EVENT = new ListenerCallQueue.Event<Object>() { @Override public void call(Object object) { throw new RuntimeException(); } @Override public String toString() { return "throwing()"; } }; public void testEnqueueAndDispatch() { Object listener = new Object();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 8.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/SimplexTransferListener.java
exchange = new Exchange(event); } eventQueue.put(exchange); exchange.waitForProcessed(); } catch (InterruptedException e) { throw new RuntimeException(e); } } private final ConcurrentHashMap<TransferResourceIdentifier, Boolean> ongoing = new ConcurrentHashMap<>(); @Override public void transferInitiated(TransferEvent event) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Feb 06 11:28:05 UTC 2025 - 8.7K bytes - Viewed (0)