- Sort Score
- Result 10 results
- Languages All
Results 651 - 660 of 3,054 for throws (0.04 sec)
-
src/test/java/jcifs/smb/SmbTransportImplTest.java
f.setAccessible(true); return f.get(target); } catch (Exception e) { throw new RuntimeException(e); } } // Helper: find field in class hierarchy private static Field findField(Class<?> clazz, String name) throws NoSuchFieldException { Class<?> current = clazz; while (current != null) { try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SocketInputStream.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/context/AbstractCIFSContextTest.java
void testRun_closeThrowsException() throws CIFSException { // Create a spy on the context to make close() throw an exception TestAbstractCIFSContext spyContext = new TestAbstractCIFSContext(mockCredentials) { @Override public boolean close() throws CIFSException { super.close(); // Call original close to set closeCalled throw new CIFSException("Test exception during close");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java
itr.remove(); } /** * @throws Exception */ @Test public void testNext() throws Exception { final EnumerationIterator<String> itr = new EnumerationIterator<String>(new Vector<String>().elements()); assertThat(itr.hasNext(), is(not(true))); } /** * @throws Exception */ @Test(expected = NullArgumentException.class)
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
* * @param uri the URI to get response data for * @param includeContent whether to include content in the response * @return the response data * @throws CrawlingAccessException if unable to access the URI * @throws ChildUrlsException if the URI represents a directory with child URLs */ protected ResponseData getResponseData(final String uri, final boolean includeContent) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 13.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
} @Test @DisplayName("Null context throws NPE (invalid input)") void nullContextThrows() { assertThrows(NullPointerException.class, () -> new SmbNamedPipe("smb://server/IPC$/foo", 0, null)); } @Test @DisplayName("Second constructor sets unshared based on flags") void secondCtorUnsharedFlagPath() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosAuthDataTest.java
private Map<Integer, KerberosKey> mockKeys; /** * Test parsing with an unknown auth type. * Expects an empty list of authorizations. * @throws PACDecodingException should not be thrown */ @Test void testParseUnknownAuthType() throws PACDecodingException { // GIVEN an unknown auth type int unknownAuthType = -1; byte[] emptyToken = new byte[0];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java
"sha256/afwiKY3RxoMmLkuRW1l7QsPZTJPwDS2pdDROQjXw8ig="); @Override public Response intercept(Chain chain) throws IOException { for (Certificate certificate : chain.connection().handshake().peerCertificates()) { String pin = CertificatePinner.pin(certificate); if (denylist.contains(pin)) { throw new IOException("Denylisted peer certificate: " + pin); } } return chain.proceed(chain.request());
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
keyManager.storeSessionKey("session", testKey, "AES"); keyManager.close(); keyManager.close(); // Should not throw assertEquals(0, keyManager.getKeyCount(), "Should have no keys after close"); } @Test public void testAutoCloseable() throws Exception { try (SecureKeyManager manager = new SecureKeyManager()) { manager.storeSessionKey("auto-session", testKey, "AES");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java
public void testNewReference() throws Exception { assertEquals(null, Atomics.newReference().get()); } public void testNewReference_withInitialValue() throws Exception { assertEquals(null, Atomics.newReference(null).get()); assertEquals(OBJECT, Atomics.newReference(OBJECT).get()); } public void testNewReferenceArray_withLength() throws Exception { int length = 42;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.6K bytes - Viewed (0)