- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 7,652 for throws (0.14 sec)
-
maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Reader.java
throw new XmlPullParserException(e.getMessage(), null, e); } } /** * @param reader a reader object. * @throws IOException IOException if any. * @throws XmlPullParserException XmlPullParserException if * any. * @return Model */ public Settings read(Reader reader) throws IOException, XmlPullParserException { try {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Oct 20 07:44:51 UTC 2023 - 5.2K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java
try { stack.runTearDown(); fail("runTearDown should have thrown an exception"); } catch (ClusterException expected) { assertThat(expected).hasCauseThat().hasMessageThat().isEqualTo("two"); } catch (RuntimeException e) { throw new RuntimeException( "A ClusterException should have been thrown, rather than a " + e.getClass().getName(), e); } assertEquals(true, tearDownOne.ran);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 17 15:19:38 UTC 2023 - 4.6K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
assertNull(tester.instantiate(Runnable.class)); } public void testInstantiate_abstractClass() throws Exception { assertNull(tester.instantiate(AbstractList.class)); } public void testInstantiate_annotation() throws Exception { assertNull(tester.instantiate(MyAnnotation.class)); } public void testInstantiate_setDefault() throws Exception {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 36.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
final int throwAfterCount; final RuntimeException thrown; int count; ThrowingRunnable(int throwAfterCount, RuntimeException thrown) { this.throwAfterCount = throwAfterCount; this.thrown = thrown; } @Override public void run() { if (++count >= throwAfterCount) { throw thrown; } } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 28.2K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/KryoBackedDecoder.java
if (e.getMessage().equals("Buffer underflow.")) { throw (EOFException) new EOFException().initCause(e); } throw e; } @Override public byte readByte() throws EOFException { try { return input.readByte(); } catch (KryoException e) { throw maybeEndOfStream(e); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 7.3K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/xml/SimpleMarkupWriter.java
protected SimpleMarkupWriter(Writer writer, String indent) throws IOException { this.indent = indent; this.output = writer; } @Override public void write(char[] chars, int offset, int length) throws IOException { characters(chars, offset, length); } @Override public void flush() throws IOException { output.flush(); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Nov 02 12:15:58 UTC 2021 - 12K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java
// only use by reread() @TempDir Path projectRoot; @Override @BeforeEach public void setUp() throws Exception { projectBuilder = getContainer().lookup(ProjectBuilder.class); } protected MavenProject getProject(Artifact pom, boolean allowStub) throws Exception { ProjectBuildingRequest configuration = new DefaultProjectBuildingRequest();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Jun 19 15:04:04 UTC 2023 - 16.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
public void testAllAsList_extensive() throws InterruptedException { runExtensiveMergerTest(Merger.allMerger); } @J2ktIncompatible @GwtIncompatible // threads public void testSuccessfulAsList_extensive() throws InterruptedException { runExtensiveMergerTest(Merger.successMerger); } public void testSuccessfulAsList() throws Exception { // Create input and output
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 144.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
public void testAllAsList_extensive() throws InterruptedException { runExtensiveMergerTest(Merger.allMerger); } @J2ktIncompatible @GwtIncompatible // threads public void testSuccessfulAsList_extensive() throws InterruptedException { runExtensiveMergerTest(Merger.successMerger); } public void testSuccessfulAsList() throws Exception { // Create input and output
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 144.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeLimiter.java
* @return the result returned by the Callable * @throws TimeoutException if the time limit is reached * @throws ExecutionException if {@code callable} throws a checked exception * @throws UncheckedExecutionException if {@code callable} throws a {@code RuntimeException} * @throws ExecutionError if {@code callable} throws an {@code Error} * @since 22.0 */ @CanIgnoreReturnValue
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 8.3K bytes - Viewed (0)