- Sort Score
- Num 10 results
- Language All
Results 531 - 540 of 1,247 for catch (0.07 seconds)
-
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt
parentFile.mkdirs() writeBytes(classWriter.toByteArray()) } } catch (exception: Exception) { throw ClassAnalysisException("Could not transform class from $file", exception) } } } ) } }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sat Mar 22 03:48:38 GMT 2025 - 7.3K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Optional.java
"NullableOptional", // Null passthrough is reasonable for type conversions }) // If users use this when they shouldn't, we hope that NewApi will catch subsequent Optional calls @IgnoreJRERequirement public static <T> java.util.@Nullable Optional<T> toJavaUtil( @Nullable Optional<T> googleOptional) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 15.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractService.java
@Override public final Service startAsync() { if (monitor.enterIf(isStartable)) { try { snapshot = new StateSnapshot(STARTING); enqueueStartingEvent(); doStart(); } catch (Throwable startupFailure) { restoreInterruptIfIsInterruptedException(startupFailure); notifyFailed(startupFailure); } finally { monitor.leave(); dispatchListenerEvents();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 20.3K bytes - Click Count (0) -
cmd/bitrot.go
} // bitrotSelfTest performs a self-test to ensure that bitrot // algorithms compute correct checksums. If any algorithm // produces an incorrect checksum it fails with a hard error. // // bitrotSelfTest tries to catch any issue in the bitrot implementation // early instead of silently corrupting data. func bitrotSelfTest() { checksums := map[BitrotAlgorithm]string{
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
return get(key) != null; } @Override public @Nullable V get(@Nullable Object key) { try { if (key instanceof Range) { @SuppressWarnings("unchecked") // we catch ClassCastExceptions Range<K> r = (Range<K>) key; if (!subRange.encloses(r) || r.isEmpty()) { return null; } RangeMapEntry<K, V> candidate = null;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 22.7K bytes - Click Count (0) -
guava/src/com/google/common/util/concurrent/AbstractService.java
@Override public final Service startAsync() { if (monitor.enterIf(isStartable)) { try { snapshot = new StateSnapshot(STARTING); enqueueStartingEvent(); doStart(); } catch (Throwable startupFailure) { restoreInterruptIfIsInterruptedException(startupFailure); notifyFailed(startupFailure); } finally { monitor.leave(); dispatchListenerEvents();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 20.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
Assert.fail(); } catch (IndexOutOfBoundsException expected) { } try { hashFunction.hashBytes(new byte[128], 64, 256 /* too long len */); Assert.fail(); } catch (IndexOutOfBoundsException expected) { } try { hashFunction.hashBytes(new byte[64], 0, -1); Assert.fail(); } catch (IndexOutOfBoundsException expected) { } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 25.6K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java
try (FileReader reader = new FileReader(file)) { element.append(open + CharStreams.toString(reader) + close); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } } private void removeLeftoverComments(Document document) { document.traverse(new NodeVisitor() {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue May 27 09:07:14 GMT 2025 - 11.7K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java
// build from disk expected to fail testInheritance("tricky-flat-artifactId-urls", false); // fail( "should have failed since module reference == artifactId != directory name" ); } catch (AssertionError afe) { // expected failure: wrong relative path calculation assertTrue( afe.getMessage() .contains(Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 8.2K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 9.4K bytes - Click Count (0)