- Sort Score
- Result 10 results
- Languages All
Results 891 - 900 of 2,174 for Exception (0.05 sec)
-
src/test/java/jcifs/netbios/SessionServicePacketTest.java
byte[] buffer = new byte[10]; IOException exception = assertThrows(IOException.class, () -> { SessionServicePacket.readPacketType(bais, buffer, 0); }); assertEquals("unexpected EOF reading netbios session header", exception.getMessage()); } @Test @DisplayName("readPacketType should throw IOException on incomplete header")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java
/** * Create UNIX domain sockets for MockWebServer and OkHttp and connect 'em together. Note that we * cannot do TLS over domain sockets. */ public class ClientAndServer { public void run() throws Exception { File socketFile = new File("/tmp/ClientAndServer.sock"); socketFile.delete(); // Clean up from previous runs. MockWebServer server = new MockWebServer();
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Dec 24 03:46:30 UTC 2018 - 2.1K bytes - Viewed (0) -
src/cmd/api/api_test.go
features: []string{"C", "A"}, required: []string{"A", "B", "C"}, ok: false, out: "-B\n", }, { name: "exception removal", features: []string{"A", "C"}, required: []string{"A", "B", "C"}, exception: []string{"B"}, ok: true, out: "", }, // Test that a feature required on a subset of ports is implicitly satisfied
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri May 02 17:06:27 UTC 2025 - 7.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/SuggestCreator.java
import org.codelibs.core.timer.TimeoutManager; import org.codelibs.core.timer.TimeoutTask; import org.codelibs.fess.Constants; import org.codelibs.fess.crawler.client.FesenClient; import org.codelibs.fess.exception.ContainerNotAvailableException; import org.codelibs.fess.helper.SuggestHelper; import org.codelibs.fess.opensearch.client.SearchEngineClient; import org.codelibs.fess.timer.SystemMonitorTarget;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 11K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Strings.java
return builder.toString(); } @SuppressWarnings("CatchingUnchecked") // sneaky checked exception private static String lenientToString(@Nullable Object o) { if (o == null) { return "null"; } try { return o.toString(); } catch (Exception e) { // sneaky checked exception // Default toString() behavior - see Object.toString() String objectToString =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 27 17:53:41 UTC 2025 - 12.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
* Guaranteed to throw an exception and leave the {@code RangeSet} unmodified. * * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public void remove(Range<C> range) { throw new UnsupportedOperationException(); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 27.4K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeTest.java
} /** * Test for close() method throwing exception. * Verifies behavior when close throws an exception. */ @Test void testClose_throwsException() { doThrow(new RuntimeException("Failed to close")).when(smbTree).close(); assertThrows(RuntimeException.class, () -> smbTree.close(), "Should propagate exception when close fails"); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PerCallSettings.java
import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; public final class PerCallSettings { private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { Request request = new Request.Builder() .url("http://httpbin.org/delay/1") // This URL is served with a 1 second delay. .build(); // Copy to customize OkHttp for this request.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 1.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java
client = new OkHttpClient.Builder() .addInterceptor( new BasicAuthInterceptor("publicobject.com", "jesse", "password1")) .build(); } public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/secrets/hellosecret.txt") .build(); try (Response response = client.newCall(request).execute()) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Nov 05 07:46:46 UTC 2018 - 2.1K bytes - Viewed (0)