- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 147 for throwIt (0.04 sec)
-
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: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 37.8K bytes - Viewed (0) -
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: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 26.5K 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: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 26.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
public void testToString_misbehaving() throws Exception { assertThat( new AbstractFuture<Object>() { @Override public String pendingToString() { throw new RuntimeException("I'm a misbehaving implementation"); } }.toString()) .matches( "[^\\[]+\\[status=PENDING, info=\\[Exception thrown from implementation: "
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 46.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
public void testToString_misbehaving() throws Exception { assertThat( new AbstractFuture<Object>() { @Override public String pendingToString() { throw new RuntimeException("I'm a misbehaving implementation"); } }.toString()) .matches( "[^\\[]+\\[status=PENDING, info=\\[Exception thrown from implementation: "
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 46.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java
* * @return Never returns, always throws UnsupportedOperationException * @throws UnsupportedOperationException Always thrown as this operation is not supported */ @Override public ServletContext getServletContext() { throw new UnsupportedOperationException("getServletContext() is not supported in SpnegoFilterConfig"); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 17.8K bytes - Viewed (3) -
guava/src/com/google/common/collect/ImmutableMultimap.java
* * @throws UnsupportedOperationException always * @deprecated Unsupported operation. */ @CanIgnoreReturnValue @Deprecated @Override @DoNotCall("Always throws UnsupportedOperationException") public final boolean putAll(Multimap<? extends K, ? extends V> multimap) { throw new UnsupportedOperationException(); } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:58:48 UTC 2025 - 28.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java
throw e; } catch (final Exception e) { throw new IOException("Failed to access " + url, e); } } /** * Gets the Blob object from GCS. * This method caches the response to avoid repeated calls. * * @return The Blob object * @throws IOException If an I/O error occurs */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 9.6K bytes - Viewed (0) -
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, MILLISECONDS);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 11.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
*/ public class HandlerTest extends PlainTestCase { @Override protected void setUp() throws Exception { super.setUp(); new StandardCrawlerContainer(); } /** * Test that the gcs protocol is correctly recognized. */ public void test_protocol() throws Exception { URL url = new URL("gcs://bucket/object"); assertEquals("gcs", url.getProtocol()); }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.1K bytes - Viewed (0)