- Sort Score
- Num 10 results
- Language All
Results 981 - 990 of 2,684 for catch (0.02 seconds)
-
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt
Class.forName("org.bouncycastle.jsse.provider.BouncyCastleJsseProvider", false, BouncyCastlePlatform::class.java.classLoader) true } catch (_: ClassNotFoundException) { false } fun buildIfSupported(): BouncyCastlePlatform? = if (isSupported) BouncyCastlePlatform() else null }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 3.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java
try { logger .get() .log( SEVERE, String.format(Locale.ROOT, "Caught an exception in %s. Shutting down.", t), e); } catch (Throwable errorInLogging) { // sneaky checked exception // If logging fails, e.g. due to missing memory, at least try to log the // message and the cause for the failed logging.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 10 21:03:40 GMT 2025 - 2.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/misc/DisposableUtil.java
public static synchronized void dispose() { while (!disposables.isEmpty()) { final Disposable disposable = disposables.removeLast(); try { disposable.dispose(); } catch (final Throwable t) { System.err.println("[DisposableUtil] Failed to dispose resource: " + t.getClass().getName() + ": " + t.getMessage()); // must not use Logger. } }
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 3.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/NetShareEnum.java
@Override int writeParametersWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; byte[] descr; try { descr = DESCR.getBytes("ASCII"); } catch (final UnsupportedEncodingException uee) { return 0; } writeInt2(NET_SHARE_ENUM, dst, dstIndex); dstIndex += 2; System.arraycopy(descr, 0, dst, dstIndex, descr.length);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 2.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrPolicyHandle.java
if (server == null) { server = "\\\\"; } final MsrpcSamrConnect4 rpc = new MsrpcSamrConnect4(server, access, this); try { handle.sendrecv(rpc); } catch (final DcerpcException de) { if (de.getErrorCode() != DcerpcError.DCERPC_FAULT_OP_RNG_ERROR) { throw de; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java
try { Field field = smbComDelete.getClass().getDeclaredField("searchAttributes"); field.setAccessible(true); return field.getInt(smbComDelete); } catch (Exception e) { throw new RuntimeException("Failed to get searchAttributes field", e); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.4K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/DefaultSuperPomProvider.java
options.put(ModelProcessor.INPUT_SOURCE, inputSource); superModel = modelProcessor.read(is, options); } catch (IOException e) { throw new IllegalStateException( "The super POM " + resource + " is damaged" + ", please verify the integrity of your Maven installation",
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 3.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/RangeTest.java
fail(); } catch (IllegalStateException expected) { } try { range.lowerBoundType(); fail(); } catch (IllegalStateException expected) { } } private static void assertUnboundedAbove(Range<Integer> range) { assertFalse(range.hasUpperBound()); try { range.upperEndpoint(); fail(); } catch (IllegalStateException expected) { }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/BaseParserTest.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 4.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularContiguousSet.java
if (object == null) { return false; } try { @SuppressWarnings("unchecked") // The worst case is usually CCE, which we catch. C c = (C) object; return range.contains(c); } catch (ClassCastException e) { return false; } } @Override public boolean containsAll(Collection<?> targets) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.3K bytes - Click Count (0)