- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 1,808 for Try (0.02 sec)
-
src/test/java/org/codelibs/core/security/MessageDigestUtilTest.java
try { MessageDigestUtil.digest(null, text); assertTrue(false); } catch (final EmptyArgumentException e) { assertTrue(true); } try { MessageDigestUtil.digest("HOGE", text); assertTrue(false);Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.9K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt
).filter { it.isSupported() } @Throws(IOException::class) override fun connectSocket( socket: Socket, address: InetSocketAddress, connectTimeout: Int, ) { try { socket.connect(address, connectTimeout) } catch (e: ClassCastException) { // On android 8.0, socket.connect throws a ClassCastException due to a bug // see https://issuetracker.google.com/issues/63649622Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu May 29 16:52:38 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/NetServerEnumIterator.java
throw new SmbException("The requested list operations is invalid: " + locator.getURL()); } this.response = new NetServerEnum2Response(th.getConfig()); this.treeHandle = th.acquire(); try { this.next = open(); } catch (final Exception e) { this.treeHandle.release(); throw e; } } private FileEntry open() throws CIFSException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
if (mightBeAndroid()) { try { helper = new UnsafeAtomicHelper(); } catch (Exception | Error unsafeFailure) { // sneaky checked exception thrownUnsafeFailure = unsafeFailure; // Catch absolutely everything and fall through to AtomicReferenceFieldUpdaterAtomicHelper. try { helper = new AtomicReferenceFieldUpdaterAtomicHelper();Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
return false; } // Validate key lengths try { int expectedKeyLength = getKeyLength(); byte[] encKey = getEncryptionKey(); byte[] decKey = getDecryptionKey(); try { boolean valid =Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaProvider.java
private Object endpoint; // RdmaActiveEndpoint private boolean initialized = false; @Override public boolean isAvailable() { try { // Check if DiSNI is available on the classpath Class.forName("com.ibm.disni.RdmaActiveEndpointGroup"); // Additional checks could include:Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ReaderUtil.java
*/ public static InputStreamReader create(final InputStream is, final String encoding) { assertArgumentNotNull("is", is); assertArgumentNotEmpty("encoding", encoding); try { return new InputStreamReader(is, encoding); } catch (final IOException e) { throw new IORuntimeException(e); } } /**Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java
if (boost != null) { return boost.toString(); } return null; } public void setBoostValue(final String value) { if (value != null) { try { boost = Float.parseFloat(value); } catch (final Exception e) {} } } @Override public String getIndexingTarget(final String input) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java
* Test throwing and catching the exception */ public void test_throwAndCatch() { try { throw new CrawlerSystemException("Test throw"); } catch (CrawlerSystemException e) { assertEquals("Test throw", e.getMessage()); assertNull(e.getCause()); } try { throw new CrawlerSystemException("Test with cause", new IllegalArgumentException("Cause"));Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 20K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteSource.java
} Closer closer = Closer.create(); try { InputStream in = closer.register(openStream()); return countBySkipping(in); } catch (IOException e) { // skip may not be supported... at any rate, try reading } finally { closer.close(); } closer = Closer.create(); try { InputStream in = closer.register(openStream());Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Mar 20 20:55:20 UTC 2025 - 25.7K bytes - Viewed (0)