- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,967 for throws (0.14 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java
thrownByExecutionThread = e; } }); executionThread.start(); } private static void throwIfSet(Throwable t) throws Throwable { if (t != null) { throw t; } } public void testStopUnstartedService() throws Exception { NoOpService service = new NoOpService(); RecordingListener listener = RecordingListener.record(service); service.stopAsync();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 29.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java
thrownByExecutionThread = e; } }); executionThread.start(); } private static void throwIfSet(Throwable t) throws Throwable { if (t != null) { throw t; } } public void testStopUnstartedService() throws Exception { NoOpService service = new NoOpService(); RecordingListener listener = RecordingListener.record(service); service.stopAsync();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 29.3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteStreams.java
* @param len an int specifying the number of bytes to read. * @throws EOFException if this stream reaches the end before reading all the bytes. * @throws IOException if an I/O error occurs. */ public static void readFully(InputStream in, byte[] b, int off, int len) throws IOException { int read = read(in, b, off, len); if (read != len) { throw new EOFException(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Jan 17 18:59:58 UTC 2024 - 29.7K bytes - Viewed (0) -
maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/plexus-component-api-1.0-alpha-16.jar
ServiceLocator { public abstract Object lookup(String) throws org.codehaus.plexus.component.repository.exception.ComponentLookupExcep; public abstract Object lookup(String, String) throws org.codehaus.plexus.component.repository.exception.ComponentLookupExcep; public abstract java.util.Map lookupMap(String) throws org.codehaus.plexus.component.repository.exception.ComponentLookupExcep; public abstract java.util.List lookupList(String) throws org.codehaus.plexus.component.repository.exception.ComponentLookupExcep;...
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Sun Oct 02 08:41:25 UTC 2022 - 32.4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSource.java
* it does. * * @throws IOException if an I/O error occurs while reading from this source or if {@code * processor} throws an {@code IOException} * @since 16.0 */ @CanIgnoreReturnValue // some processors won't return a useful result @ParametricNullness public <T extends @Nullable Object> T readLines(LineProcessor<T> processor) throws IOException { checkNotNull(processor);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 22.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
* available. * * @throws InterruptedException if the current thread was interrupted before or during the call * (optional but recommended). * @throws CancellationException {@inheritDoc} */ @CanIgnoreReturnValue @Override public V get(long timeout, TimeUnit unit) throws InterruptedException, TimeoutException, ExecutionException { return sync.get(unit.toNanos(timeout)); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 09 15:17:25 UTC 2018 - 13.6K bytes - Viewed (0) -
maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-active-collections/1.0-beta-1/plexus-active-collections-1.0-beta-1.jar
ROLE; public abstract boolean checkedContains(Object) throws org.codehaus.plexus.component.repository.exception.ComponentLookupExcep; public abstract boolean checkedContainsAll(java.util.Collection) throws org.codehaus.plexus.component.repository.exception.ComponentLookupExcep; public abstract Object checkedGet(int) throws org.codehaus.plexus.component.repository.exception.ComponentLookupExcep; public abstract int checkedIndexOf(Object) throws org.codehaus.plexus.component.repository.exception.ComponentLookupExcep;...
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Oct 16 20:15:40 UTC 2007 - 15.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
* * @throws TimeoutException if this thread does not offer a response within a reasonable amount of * time * @throws AssertionFailedError if the given method name does not match the name of the method * this thread has called most recently */ private Response getResponse(String methodName) throws Exception { Response response = responseQueue.poll(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 10.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
throw t; } } /** Calls threadFail with message "should throw exception". */ public void threadShouldThrow() { threadFail("should throw exception"); } /** Calls threadFail with message "should throw" + exceptionName. */ public void threadShouldThrow(String exceptionName) { threadFail("should throw " + exceptionName); } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 37.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
ArrayMap<String, String> map; /** * @throws Exception */ @Before public void setUp() throws Exception { map = new ArrayMap<String, String>(); map.put(null, null); map.put("1", "test"); map.put("2", "test2"); } /** * @throws Exception */ @After public void tearDown() throws Exception { map = null; } /**
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.7K bytes - Viewed (0)