- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 358 for RuntimeException (0.15 sec)
-
src/main/java/jcifs/smb/SmbTransportImpl.java
throw new IOException("Connection rejected by circuit breaker: " + e.getMessage(), e); } catch (RuntimeException e) { // Unwrap IOException from RuntimeException if (e.getCause() instanceof IOException) { throw (IOException) e.getCause(); } throw new IOException("Connection failed", e);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0) -
src/test/java/jcifs/util/HMACT64Test.java
mockedCrypto.when(Crypto::getMD5).thenReturn(mockMd5); byte[] innerDigest = "inner_digest".getBytes(); when(mockMd5.digest()).thenReturn(innerDigest); doThrow(new RuntimeException("Test Exception")).when(mockMd5).digest(any(byte[].class), anyInt(), anyInt()); HMACT64 hmac = new HMACT64(TEST_KEY);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
"unused", // many methods tested reflectively -- maybe prefer local @Keep annotations? }) @NullUnmarked public class NullPointerTesterTest extends TestCase { /** Non-NPE RuntimeException. */ public static class FooException extends RuntimeException { private static final long serialVersionUID = 1L; } /** * Class for testing all permutations of static/non-static one-argument methods using * methodParameter().
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 47.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractFutureState.java
} } throw new NoSuchFieldError("the Unsafe"); }); } catch (PrivilegedActionException e) { throw new RuntimeException("Could not initialize intrinsics", e.getCause()); } } try { Class<?> abstractFutureState = AbstractFutureState.class; WAITERS_OFFSET =Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 34.8K bytes - Viewed (0) -
compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java
if (copy.locations != null) { copy.locations = new java.util.LinkedHashMap(copy.locations); } return copy; } catch (Exception ex) { throw (RuntimeException) new UnsupportedOperationException(getClass().getName() + " does not support clone()").initCause(ex); } } // -- InputLocation clone() /**
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 13.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessClient.java
} } catch (Exception e) { log.error("Failed to register for witness notifications", e); throw new RuntimeException(e); } }); } /** * Unregisters from witness notifications. * * @param registration the registration to removeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.8K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java
fields.add(new ListField(currentField)); } else if (Collection.class.isAssignableFrom(type)) { throw new RuntimeException("We dont interpolate into collections, use a list instead"); } else if (Map.class.isAssignableFrom(type)) { fields.add(new MapField(currentField));
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 07:09:12 UTC 2025 - 15.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
lengthField.setAccessible(true); lengthField.setInt(this, length); } catch (Exception e) { throw new RuntimeException(e); } } @Override protected int readBytesWireFormat(byte[] buffer, int bufferIndex) { return 0; } @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
// andxOffset arbitrarily > 0 ServerMessageBlock.writeInt2(80, buf, 36); // byteCount position: 33 + 1 + 8 = 42 ServerMessageBlock.writeInt2(0, buf, 42); assertThrows(RuntimeException.class, () -> block.decode(buf, 0)); } @Test @DisplayName("readAndXWireFormat reads chained plain SMB and marks received") void testReadAndXWireFormatWithPlainSMB() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java
try { Map<Path, Document> pomMap = Map.of(); // Empty for this test return doUpgrade(context, targetModel, pomMap); } catch (Exception e) { throw new RuntimeException(e); } } // Helper method from AbstractUpgradeStrategy private boolean isOptionEnabled(UpgradeOptions options, Optional<Boolean> option, boolean defaultValue) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 13.7K bytes - Viewed (0)