- Sort Score
- Result 10 results
- Languages All
Results 1501 - 1510 of 2,976 for throw (0.03 sec)
-
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
* @param auth * The NTLM password authenticator containing user credentials * @throws SmbException * If there is an error setting up the signing digest */ public SMB1SigningDigest(final SmbTransportInternal transport, final NtlmPasswordAuthenticator auth) throws SmbException { this.digest = Crypto.getMD5(); try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTest.java
} /** * @return the number of exceptions that were suppressed on the expected thrown exception */ private static int runSuppressionFailureTest(CharSource in, CharSink out) { try { in.copyTo(out); fail(); } catch (IOException expected) { return expected.getSuppressed().length; } throw new AssertionError(); // can't happen }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsWebConfigBhv.java
return updateEntity(source, result); } catch (InstantiationException | IllegalAccessException e) { final String msg = "Cannot create a new instance: " + entityType.getName(); throw new IllegalBehaviorStateException(msg, e); } } protected <RESULT extends WebConfig> RESULT updateEntity(Map<String, Object> source, RESULT result) { return result; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/DialectVersionTest.java
assertTrue(DialectVersion.SMB311.isSMB2()); } @Test @DisplayName("Should have correct dialect codes for SMB2+ versions") void testDialectCodes() { // SMB1 should throw UnsupportedOperationException assertThrows(UnsupportedOperationException.class, () -> { DialectVersion.SMB1.getDialect(); }); // SMB2+ versions should have valid dialect codes
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
return new URLClassLoader(ClassPathUtil.getClassPathUrls(), classLoader) { @Override public Class<?> loadClass(String name) throws ClassNotFoundException { if (disallowedClassNames.contains(name)) { throw new ClassNotFoundException("I'm sorry Dave, I'm afraid I can't do that."); } if (name.startsWith(concurrentPackage)) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 8.1K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/GraphBuilder.java
} /** * Specifies whether the graph will allow self-loops (edges that connect a node to itself). * Attempting to add a self-loop to a graph that does not allow them will throw an {@link * UnsupportedOperationException}. * * <p>The default value is {@code false}. */ @CanIgnoreReturnValue public GraphBuilder<N> allowsSelfLoops(boolean allowsSelfLoops) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
} /** * Test successful parsing with valid data. */ @Test public void testValidNegotiateResponse() throws SMBProtocolDecodingException { byte[] validBuffer = createValidNegotiateResponseBuffer(); // Should not throw any exception int bytesRead = response.readBytesWireFormat(validBuffer, 0); assertTrue(bytesRead > 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterables.java
* @throws NoSuchElementException if the iterable is empty */ @ParametricNullness public static <T extends @Nullable Object> T getLast(Iterable<T> iterable) { // TODO(kevinb): Support a concurrently modified collection? if (iterable instanceof List) { List<T> list = (List<T>) iterable; if (list.isEmpty()) { throw new NoSuchElementException(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 43.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java
public void test_initializeProbes() { try { SuggestCreator.initializeProbes(); // If no exception thrown, test passes assertTrue(true); } catch (Exception e) { fail("initializeProbes should not throw exception: " + e.getMessage()); } } // Test process with properties path public void test_process_withPropertiesPath() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java
// Don't stub mockSid2 since it won't be reached due to NPE on null element testSids = new jcifs.SID[] { mockSid1, null, mockSid2 }; // Act & Assert - This should throw an exception when LsarSidArrayX tries to process null assertThrows(NullPointerException.class, () -> { new MsrpcLookupSids(mockPolicyHandle, testSids); }); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.6K bytes - Viewed (0)