- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 6,602 for throws (0.13 sec)
-
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/jvm/JavaInfo.java
/** * @return the executable * @throws JavaHomeException when executable cannot be found */ File getJavaExecutable() throws JavaHomeException; /** * @return the executable * @throws JavaHomeException when executable cannot be found */ File getJavacExecutable() throws JavaHomeException; /** * @return the executable * @throws JavaHomeException when executable cannot be found
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/QueuesTest.java
int maxElements, long timeout, TimeUnit unit, boolean interruptibly) throws InterruptedException { return interruptibly ? Queues.drain(q, buffer, maxElements, timeout, unit) : Queues.drainUninterruptibly(q, buffer, maxElements, timeout, unit); } public void testMultipleProducers() throws Exception { for (BlockingQueue<Object> q : blockingQueues()) { testMultipleProducers(q);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 12K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java
void maybeThrowOnGet(@Nullable Throwable cause) throws ExecutionException { throw new IllegalStateException("Cannot get() on a pending future."); } boolean permitsPublicUserToTransitionTo(State state) { return state.equals(CANCELLED); } }, VALUE, FAILURE { @Override void maybeThrowOnGet(@Nullable Throwable cause) throws ExecutionException {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jan 22 19:37:41 UTC 2024 - 12.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/ShortConversionUtilTest.java
* */ public class ShortConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToShort() throws Exception { assertEquals(new Short("1000"), ShortConversionUtil.toShort("1,000")); } /** * @throws Exception */ public void testToPrimitiveShort() throws Exception { assertEquals(1000, ShortConversionUtil.toPrimitiveShort("1,000")); }
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java
private String leave() { return "leave"; } public final void testMutualExclusion() throws Exception { thread1.callAndAssertReturns(enter()); thread2.callAndAssertBlocks(enter()); thread1.callAndAssertReturns(leave()); thread2.assertPriorCallReturns(enter()); } public final void testTryEnter() throws Exception { thread1.callAndAssertReturns(true, tryEnter());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 26 20:07:17 UTC 2023 - 7.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Prompter.java
* @throws PrompterException if an exception occurs */ @Nonnull String promptForPassword(@Nullable String message) throws PrompterException; /** * Displays a message to the user. * * @param message the message to display * @throws PrompterException if an exception occurs */ void showMessage(@Nullable String message) throws PrompterException;
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Nov 17 15:52:15 UTC 2023 - 3.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteSource.java
} @Override public InputStream openStream() throws IOException { return sliceStream(ByteSource.this.openStream()); } @Override public InputStream openBufferedStream() throws IOException { return sliceStream(ByteSource.this.openBufferedStream()); } private InputStream sliceStream(InputStream in) throws IOException { if (offset > 0) { long skipped;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 26.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/SourceSinkFactories.java
public void tearDown() throws IOException {} } private static class EmptyCharSourceFactory implements CharSourceFactory { @Override public CharSource createSource(String data) throws IOException { return CharSource.empty(); } @Override public String getExpected(String data) { return ""; } @Override public void tearDown() throws IOException {} }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 06 12:56:11 UTC 2023 - 12.7K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/precondition/TestPrecondition.java
* @throws Exception if the precondition cannot be checked */ boolean isSatisfied() throws Exception; /** * Utility method to check if a precondition class is satisfied. * * @param preconditionClass the class of the precondition to be checked * @return true if the precondition is satisfied * @throws Exception if the precondition cannot be checked */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/DecoderExtensions.java
@NonNullApi public class DecoderExtensions { public static short[] readLengthPrefixedShorts(Decoder decoder) throws IOException { int length = decoder.readInt(); short[] array = new short[length]; readShorts(decoder, array); return array; } public static void readShorts(Decoder decoder, short[] array) throws IOException { for (int i = 0; i < array.length; i++) { array[i] = decoder.readShort();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 3.7K bytes - Viewed (0)