- Sort Score
- Result 10 results
- Languages All
Results 1071 - 1080 of 1,808 for Try (0.01 sec)
-
src/main/java/jcifs/smb/SmbPipeInputStream.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/exbhv/UserInfoBhv.java
} return indexName; } @Override protected LocalDateTime toLocalDateTime(final Object value) { if (value != null) { try { final Instant instant = Instant.from(DateTimeFormatter.ISO_INSTANT.parse(value.toString())); return LocalDateTime.ofInstant(instant, ZoneId.systemDefault());Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/guide/PostExample.java
String post(String url, String json) throws IOException { RequestBody body = RequestBody.create(json, JSON); Request request = new Request.Builder() .url(url) .post(body) .build(); try (Response response = client.newCall(request).execute()) { return response.body().string(); } } String bowlingJson(String player1, String player2) { return "{'winCondition':'HIGH_SCORE',"
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java
.build(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 2.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
} @Override public void testKeySetRemoveAllNullFromEmpty() { try { super.testKeySetRemoveAllNullFromEmpty(); } catch (RuntimeException tolerated) { // GWT's HashMap.keySet().removeAll(null) doesn't throws NPE. } } @Override public void testEntrySetRemoveAllNullFromEmpty() { try { super.testEntrySetRemoveAllNullFromEmpty();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
* @throws DcerpcException if the bind operation fails * @throws IOException if an I/O error occurs */ public void bind() throws DcerpcException, IOException { synchronized (this) { try { state = 1; final DcerpcMessage bind = new DcerpcBind(binding, this); sendrecv(bind); } catch (final IOException ioe) { state = 0;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java
// Test initialization with exception TestReadingConverterWithException errorConverter = new TestReadingConverterWithException(); errorConverter.setThrowExceptionOnInit(true); try { errorConverter.init(); fail("Should throw IOException"); } catch (IOException e) { assertEquals("Init failed", e.getMessage()); } } @TestRegistered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java
// Test with non-phrase query - should throw InvalidQueryException Query termQuery = new TermQuery(new Term("field", "value")); QueryContext context = new QueryContext("test", false); try { queryCommand.execute(context, termQuery, 1.0f); fail("Should throw InvalidQueryException for non-phrase query"); } catch (InvalidQueryException e) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
* * @param message message to use upon assertion failure */ protected void expectNullKeyMissingWhenNullKeysUnsupported(String message) { try { assertFalse(message, getMap().containsKey(null)); } catch (NullPointerException tolerated) { // Tolerated } } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/MIENameTest.java
private static ASN1ObjectIdentifier testOid() { return new ASN1ObjectIdentifier("1.2.840.113554.1.2.2"); } private static byte[] oidDer() { // Full DER encoding of the OID try { return testOid().toASN1Primitive().getEncoded(); } catch (java.io.IOException e) { throw new RuntimeException(e); } } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0)