- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 5,466 for throws (0.15 sec)
-
guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
@Override protected void setUp() throws Exception { super.setUp(); future = SettableFuture.create(); tester = new ListenableFutureTester(future); tester.setUp(); } public void testDefaultState() throws Exception { assertThrows(TimeoutException.class, () -> future.get(5, TimeUnit.MILLISECONDS)); } public void testSetValue() throws Exception { assertTrue(future.set("value"));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 7.3K bytes - Viewed (0) -
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/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) -
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) -
src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java
} protected abstract FileEntry open () throws CIFSException; protected abstract boolean isDone (); protected abstract boolean fetchMore () throws CIFSException; protected abstract FileEntry[] getResults (); /** * */ protected synchronized void doClose () throws CIFSException { // otherwise already closed
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5.8K 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) -
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) -
maven-compat/src/test/java/org/apache/maven/artifact/metadata/TestMetadataSource.java
throw new UnsupportedOperationException("Cannot get available versions in this test case"); } public List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository( Artifact artifact, ArtifactRepository localRepository, ArtifactRepository remoteRepository) throws ArtifactMetadataRetrievalException {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/NetServerEnumIterator.java
doClose(); } return n; } /** * @throws SmbException */ private void checkStatus () throws SmbException { int status = this.response.getStatus(); if ( status == WinError.ERROR_SERVICE_NOT_INSTALLED ) { throw new SmbUnsupportedOperationException(); }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6K bytes - Viewed (0)